They are shown when you run the tests. Until then they appear as a hidden requirement.
Build a fruit list where every row can be removed. You practice state with arrays, immutable removal and stable keys.
× button.aria-labels (Check Banana, Remove Banana...) and the text No fruit left: the tests use them.× of a fruit removes that fruit and keeps the others.No fruit left is shown instead of the list.× on Banana → Apple and Cherry remain.The list changes, so it goes in useState (start it with the FRUITS constant).
To remove an item without mutating the array, build a new one with filter.
Each row needs a key that identifies its fruit, not its position.
key in lists that change.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.