HexoQuest

Ages 15–17 Β· 10 levels Β· 3 free

JavaScript & the Web for teens

Bring a web page to life: buttons, events, lists and your first browser game. The first five levels use blocks while showing the real JavaScript code. The last five are written in real code. The page updates live in the preview.

New to coding? Warm up with our free JavaScript tutorial for teens: 9 interactive lessons, no sign-up.

You are playing as a guest. Your progress is saved in this browser. Join with a class code to save it to your account.

JavaScript & the Web badge

Unlock all 10 levels

Levels 1–3 are free for everyone. Teachers and parents can unlock all levels with a plan, or start a free 30-day trial that opens the first half of every course.

Start free trial See pricing

What will you learn?

How JavaScript logs to the console, how it finds and changes elements on the page (the DOM), how it reacts to a click (events), how it reads what the user types, how it makes decisions and repeats work, how it creates new elements and how to write a function. At the end you build a game and download it as an HTML file.