Loading...
By continuing to use the platform, you accept the terms of the Privacy Policy and the use of cookies.
Build a traffic light that changes colors by itself. Red stays on for 4 seconds, yellow for 1 second, green for 3 seconds, then red again. Only one color is on at a time. Starting twice does not speed up the cycle. Requirements: ✓ Durations: red 4000, yellow 1000, green 3000 ✓ The previous timer is cleared before the next step ✓ The heading Hack Frontend stays visible Acceptance criteria: ✓ Red is on first ✓ Yellow follows red, then green ✓ The cycle returns to red