They are shown when you run the tests. Until then they appear as a hidden requirement.
Build a traffic light that cycles through its colors when you press a button. You practice state for a position in a cycle.
Next button.Red, Green, Yellow and Next, and the color's role="status": the tests use them.Red.Next it moves to the next color of the list: Red, Green, Yellow.Red.Next → you see Green.Yellow.Store in state the position inside LIGHTS, not the color text.
The color you show comes from LIGHTS[position].
To move to the next position, think about what happens when the position reaches the end of the list.
The console is empty
Run your code with Ctrl+S
This console starts empty every time the preview loads. The browser's DevTools console keeps the messages with Preserve log.