Code Lab BetaBUILD. RUN. DISCOVER.

Code Lab is in development. New lessons and improvements are on the way. Progress can be deleted.

JAVASCRIPT / CHAPTER 02

JavaScript
Data.

Expense data: arrays, objects, iteration, and a report. Learn and Practice per lesson; challenges are separate.

Choose a section

Lesson with explanation and a guided task. Theory stays readable; completion requires a passing solution.

Challenges are optional and do not block the next chapter.

Start lesson
JavaScript

13 lessons available

The foundations behind your ideas.

  1. 01

    Arrays · Locked

    array + .length

    Open lesson
  2. 02

    Mutate · Locked

    .push + const

    Open lesson
  3. 03

    for...of · Locked

    array iteration

    Open lesson
  4. 04

    Accumulate · Locked

    sum + average

    Open lesson
  5. 05

    Objects · Locked

    category + amount

    Open lesson
  6. 06

    Array of Objects · Locked

    list of records

    Open lesson
  7. 07

    Callbacks · Locked

    arrow function

    Open lesson
  8. 08

    Callback Argument · Locked

    callback as argument

    Open lesson
  9. 09

    map · Locked

    amountsOnly + map

    Open lesson
  10. 10

    filter · Locked

    foodOnly

    Open lesson
  11. 11

    find · Locked

    findByCategory

    Open lesson
  12. 12

    References · Locked

    copy vs same

    Open lesson
  13. 13

    Budget Report · Locked

    total + filter + remaining

    Open lesson
JavaScript Data — arrays, objects, and reports | Code Lab