Records With Objects

Martin Breuss 18 Lessons 5h 11m Updated basics js

A list of numbers can tell you how many games sit on a shelf, but not which ones fit five friends and half an hour. For that, each game needs its title, its player range and its playing time kept together. In this course, you’ll use JavaScript objects as records: one thing described with named fields, and a list of them you can ask questions.

In this course, you’ll learn how to:

  • Describe one thing with named fields, read a field with a dot, and see what a missing field gives you
  • Choose a field while the program runs, with square brackets, and update a record
  • Keep a list of records and loop over it to total, select and report
  • Find a record by its id rather than its position, and change the record you found
  • Run records code in your own Node scripts as well as in the on-site exercises

Along the way, you’ll practice in exercises with tests, build a board-game shelf helper that selects, finds and updates games, and finish with a small records program of your own that you explain to the mentor.

You’ll need arrays, loops and small functions that count, filter or search. The earlier JavaScript Basics courses teach all three.

What’s Included:

  • 18 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:

About Martin Breuss

Martin is Head of Content Strategy at RealJS. He came to programming from biology and has been teaching programming for more than ten years, as a coding mentor, code reviewer, curriculum developer, bootcamp instructor, and instructional designer.

» More about Martin

← Browse All Courses