Frontend Developer

Case File: The Button That Did Nothing

A counter for the shop floor looks right and does nothing: the buttons are styled divs with no code behind them. Make it work in the way that works for everybody: real buttons, click listeners that change the number, a count that never goes below zero, and a live region that a screen reader announces. The lab clicks your buttons in order and reads the real page. The counter and its step are generated for you alone.

45 min

Case File: The Button That Did Nothing

A counter for the shop floor looks right and does nothing: the buttons are styled divs with no code behind them. Make it work in the way that works for everybody: real buttons, click listeners that change the number, a count that never goes below zero, and a live region that a screen reader announces. The lab clicks your buttons in order and reads the real page. The counter and its step are generated for you alone.

In this lesson:

  • javascript
  • dom
  • events
  • buttons
  • aria-live
  • state
  • case-file

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans