-
Notifications
You must be signed in to change notification settings - Fork 432
Closed
Description
Hi;
the exercise proposes us to tweak the function over the array below:
const animals = [ { label: 'Horse' }, { label: 'Turtle' }, { label: 'Elephan' }, { label: 'Monkey' } ];
but the video brings an answer for an different array:
const animals = ["Horse", "Turtle", "Elephant", "Monkey"];
The consequence is that the answer to the exercise given in the video
const animalsInHTML = animals.map((singleAnimal, i) => {
return <li key={i}>{singleAnimal}</li>;
});
does not match as a right answer (check screenshot at https://i.imgur.com/eEEOvkC.png)
Metadata
Metadata
Assignees
Labels
No labels