About This Book
Who this book is for
This book is written for students in grades 6 through 8 who have never written a line of code. You do not need to install complex tools or memorize advanced terms before starting. If you can open a laptop, type, and save a file, you have enough background to begin. The lessons fit school classrooms, coding clubs, and self-guided learners at home. Each chapter assumes you are sitting with a small group and an instructor who can answer questions as they arise.
What you will learn and build
Over ten weeks, you will bring a story to life inside the browser using plain JavaScript, HTML, and CSS. You will build a real, working web app called Alice that responds to clicks, keys, and screen taps. You will draw scenes on an HTML canvas, animate a character's fall through a rabbit hole, store conversations in data files, and remember a reader's place between visits. You will also practice reading error messages, fixing broken code, and using an AI assistant without letting it do your thinking for you. After finishing the guided project, you will design and publish your own original app from scratch.
How to use this book (recommended reading path)
The book is divided into five parts. Parts I through III walk you through the Alice project one chapter at a time. Most chapters fit a single class period; Chapters 13, 16, and 19 are longer and should span two sessions. Shorter chapters can be paired within the same week. Read in order, type every example by hand, and test each change in the browser before moving on. Parts IV and V shift focus to your own capstone idea. Work through them with a partner or small group when possible, since explaining your code out loud helps you spot mistakes faster.
High-level prerequisites
You need a Windows, Mac, or Chromebook laptop with a current browser and Visual Studio Code. No build tools, command-line setup, or paid accounts are required. An internet connection helps you publish at the end, but most work can be done offline. A parent, guardian, or instructor should review the final chapter on publishing to ensure personal details stay private.
Before You Hand This to a Young Builder
This book is written to your child, not to you. They can work through it on their own, and most of them will want to.
Two chapters need you, and it is worth knowing now rather than at week ten.
Chapter 19, working with an AI assistant. Your child is taught to read AI-generated code and judge it, not to accept it. The chapter asks that an adult be in the room with the assistant on a shared screen. Every widely used assistant sets a minimum age of thirteen and asks for a parent's permission below eighteen, so this is a rule about access as much as about learning.
Chapter 20, publishing. The last chapter puts your child's finished app on a public web address and asks them to show it to somebody. Before that happens they need your permission, and the book tells them so. It also teaches them what never goes on a page they publish: nobody's full name, school, age, town, address, email, phone or photo, theirs or anyone else's. If you want the page taken down afterwards, the book explains how and who to ask.
Everything else your child can do alone, and the point is that they do.
