Skip to main content

About this level

Start here if you're new to JavaScript. Each project is one small, familiar part of a website: a counter, a colour flipper, an accordion, a pop-up, and a set of tabs. Each one teaches you to find elements on the page, listen for what people do, and change the page in response. You'll also learn the accessibility basics that make those parts work for keyboard and screen reader users, and when HTML and CSS can do the job with no JavaScript at all.

Before you start

You only need a browser. Knowing a little HTML and CSS helps, but every project explains its own markup and styles.

What you'll learn

  • Find and change elements with querySelector
  • Respond to clicks and key presses with event listeners
  • Show and hide content in an accessible way
  • Use ARIA attributes like aria-expanded and aria-live correctly
  • Tell when HTML and CSS can do the job without JavaScript

The projects