Command Palette

Search for a command to run...

Hectal
Phase 1: SVG from Zero
Data Visualization · Exercise 3 of 5 PreviousNext
Beginner

A house from one path

Give the path #house a d that starts at (20, 80), goes to (20, 40), then (50, 10), then (80, 40), then (80, 80) and closes.

Use only M, L and Z.

What Check tests

  1. The path goes through the five corners
  2. The path is closed
  3. No bad numbers

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.