The Riverside Book Club keeps a reading log for the year, and in December the members want a report. How many books did they read in each genre? What was each member’s favorite? Which authors came up most, and how did each genre rate? The answers are all in the log, but they sit in lists inside records, and some parts are missing. In this course, you’ll learn how to get them out.
Real data is rarely one flat list. The club’s log is an array of members, each member has a list of books, and only some books have a review. Once you read the shape of the data first, you can see which loop reaches which part, and summarize it without crashing on the parts that aren’t there. You’ll learn how to:
- Run loops inside loops, and loop over an object’s keys and values.
- Read the shape of nested data, and loop through every level.
- Reduce a list to one value, and count and collect with
MapandSet. - Group records, summarize each group, and handle missing parts.
- Build the book club’s year-end report, and explain the choices behind it.
Each section mixes text lessons and short videos, and ends with an exercise you write in the browser, where automated tests check your code.
In the project, you build the book club’s year-end report. It counts books per genre, picks each member’s favorite, finds the club’s distinct authors with a Set, totals their books with a Map, and averages the ratings per genre. It doesn’t crash on Luis, who joined in December and has no books yet, or on books with no review. Then you explain to the AI mentor why each part uses an object, a Map, or a Set, and take a quiz.
This course is for programmers who can write basic programs in Node, with functions, loops, arrays, objects, and lists of records, who can hand arrow functions to array methods like .map() and .filter(), and who know when two names share one object. You’ll need a current Node LTS, a terminal, and any editor.
What’s Included:
- 25 Lessons
- Video Subtitles and Full Transcripts
- Translated Subtitles in 8 Languages
- 2 Downloadable Resources
- Interactive Quiz to Check Your Progress
- 6 Hands-On Coding Exercises
- Q&A With JavaScript Experts: Ask a Question
- Certificate of Completion
Downloadable Resources:
Related Learning Paths: