Animal Fun Facts

In the JSX lesson you emphasize the .map() method saying how it is often used and how important it is to have a good understanding of it. Then in the project you tell us to use forEach(). Such terrible curriculum and assessment design.

The project is not in any way an extension of the lesson. We are asked to use the iterator that does the job. .map() returns an array mapping whereas .forEach() executes code on an array’s elements. There will be plenty of opportunity to use .map() in the future. At this point just feeling comfortable with the range of iterators at our disposal is the optimum goal.

1 Like