Zap Code: AI Code Generator That Teaches Kids Real HTML/CSS/JS

What Zap Code Does
Zap Code is an AI-powered code generator that creates working HTML, CSS, and JavaScript from plain English descriptions. Designed for kids ages 8-16, it aims to bridge the gap between block-based coding tools like Scratch and actual programming by letting kids interact with real code output first, then gradually exposing the underlying code.
Technical Implementation
The platform uses a Next.js frontend with a Node.js backend. Code editing happens in a simplified Monaco editor adapted for younger users. Generated code executes in a sandboxed iframe that prevents external API calls, ensuring safety. A progressive complexity engine uses a skill model to decide when to surface more advanced features to users.
Core Interaction Modes
- Visual-only tweaks: Kids can adjust colors and layouts without touching code
- Read-only code view with annotations: Shows the generated code with explanations
- Full code editing with AI autocomplete: Allows direct code modification with assistance
Workflow Example
A kid types "make a space shooter game" in plain English. The AI generates the HTML, CSS, and JavaScript code, and a live preview renders it immediately. The example from the source shows: "Make a space invader game where I'm a pizza slice shooting pepperoni at alien burgers" resulting in a playable game.
Safety and Monitoring
Content is filtered for age-appropriateness, though the source notes this isn't perfect. A parent dashboard allows monitoring of activity and time spent. All shared projects in the gallery are moderated, with no ads, tracking, or data sold to third parties.
Current Limitations
- AI-generated code isn't always clean or idiomatic
- Collaboration features are still basic
- The complexity engine needs more data to tune well
- Content filtering isn't perfect
Pricing and Projects
Free tier includes 3 projects. Pro version costs $9.99/month with additional features.
What Kids Can Build
Web apps, games, interactive stories, quizzes, calculators, art tools, to-do lists, and more. Every project produces real HTML, CSS, and JavaScript that can be published to a community gallery where others can play, view source code, and remix projects.
📖 Read the full source: HN AI Agents
👀 See Also

Nia-docs tool creates local filesystem from documentation URLs for Claude AI
The nia-docs tool lets you run npx nia-docs with a documentation URL to create a local filesystem of the docs, which Claude AI can then access directly without additional configuration.

Revise: AI Editor Built with Agentic Coding Tools and Y.js CRDT
Revise is an AI editor for documents built from scratch over 10 months using agentic coding tools, with a custom word processor engine and rendering layer that only uses Y.js for the CRDT stack. It integrates multiple AI models including GPT-5.4 variants and Claude models for proofreading and revision.

Memctl: Open Source MCP Server for Persistent Memory in AI Coding Agents
Memctl is an open source MCP server that provides AI coding agents with persistent memory across sessions, machines, and IDEs. Built primarily with Claude Code in two weeks, it stores project context and serves it back in subsequent sessions.

Compass Chrome Extension Adds Navigation Tools to Claude and ChatGPT
A developer built a free Chrome extension called Compass that adds a prompt minimap, sticky scroll headers, session checklists, and prompt builder templates to Claude and ChatGPT interfaces to solve navigation problems in long conversations.