Command Palette

Search for a command to run...

Hectal
Phase 3: Charts by Hand, No Library
Data Visualization · Exercise 1 of 5Next
Beginner

Size three HTML bars

Three rows show rides: Monday 2,979, Tuesday 3,992 and Saturday 3,013. Tuesday is the busiest day, so its bar is 100% of the track.

Set each .bar's width as a percentage of the track: value ÷ 3,992 × 100 (74.6%, 100%, 75.5%).

What Check tests

  1. Monday's bar is about 74.6% wide
  2. Tuesday's bar fills the track
  3. Saturday's bar is about 75.5% wide

Stuck? One hint at a time

The solution unlocks after your first Check. Try first: that is where the learning happens.

Runs in your browser. Your code is saved here.

Your page

Press Run to see the page.

Console

Nothing logged yet.