visuco
Challenge 11 of 16

A row that fills from the left is easy; one that stays in the middle has to know its own total width, which is the gap times the length. Work the left edge out and the row centres itself.

Set the gap and what it is multiplied by.

Your code JavaScript

Set the gap and what it is multiplied by.

0 / 30 frames · 400×400
Target
Yours
Results
0%
Press Run to check your code
Penalties: none this run

Report this challenge