Command Palette

Search for a command to run...

Hectal
Phase 11: Canvas 2D in Depth
Data Visualization · Exercise 1 of 4Next
Beginner

The forgotten beginPath

Monday's line should be orange and Tuesday's teal, but both come out teal.

Fix it so each line keeps its own colour.

What Check tests

  1. Monday's line is orange
  2. Tuesday's line is teal
  3. Two strokes were painted

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.