About This Book
Who this book is for
You are in high school. You have never written a program before. You have a school or home laptop, and you want to build something that actually works in a browser. You do not need to install complicated tools or learn a dozen setup steps first. This book is for complete beginners in grades 9 through 12 who want to make a real web app with their own hands.
What you will learn and build
Over ten weeks, you will meet twice a week and work through twenty short chapters. You will build an interactive Sherlock Holmes case file that runs entirely in the browser. You will start by showing one story line on a page. Then you will structure the page with HTML, style it with CSS, and bring it to life with plain JavaScript. You will store clues, respond to button clicks, collect evidence in lists, and model a full case with objects. You will load five complete stories from a JSON file, draw inspection scenes on an HTML canvas, and save your progress so it is still there when you return. After that, you will close the Holmes project and build your own original app from scratch. You will learn how to break your own code on purpose and fix it again, how to ask an AI assistant for help without letting it do all the thinking, and how to test every path before you publish your finished work to the web.
How to use this book (recommended reading path)
Read the chapters in order. Each one builds on the last. Type the code yourself instead of copying and pasting; your fingers need to learn the patterns. Run the app after every small change, check the browser console for messages, and fix errors right away. Save backup copies of your files before you try something new. When you reach Part V, put the Holmes project aside and use the same techniques to build your own idea. Finish one complete path through your app before you add extra features. In the final chapter, work through the release checklist carefully, clean out any test code, and show your published app on both a phone and an older laptop.
High-level prerequisites
You need a computer that can run the Chrome or Edge browser and the free Visual Studio Code editor. You need the Live Server extension, which you can install in one click from inside the editor. You do not need any prior programming knowledge. You do not need to set up build tools, command lines, or external servers. Everything runs locally in your browser until you are ready to publish.
Before You Hand This to a Young Builder
This book is written directly to your child, not to you. The instructions, explanations, and projects are all addressed to the student. They can work through nearly all of the material on their own at a school or home laptop, moving at the pace of the ten-week schedule or their own, with no need for you to supervise at the screen.
Only one chapter asks for an adult, and it is worth knowing about now rather than in the final week.
Chapter 20, Test, Publish, and Show It. Before the app is published through the instructor link and shown publicly, the book asks you to give permission and to help check that no personal details are included in the files. Once the project leaves the local machine, it will be visible outside the home or classroom, so the adult must review and approve that step.
The remaining nineteen chapters are for the child to work through independently, and that independence is the point.
