Web Development: HTML, CSS and JavaScript
Exit

Lesson 10 of 17 · JavaScript

JavaScript 4: classes, ES modules and error handling

1 h Node.js 22 (Debian, git, npm, python3)

Objective

Move from a few functions to a real, organized project: model the products of a craft shop with classes, split the code into several files thanks to ES modules, and make the program robust by reporting and handling errors properly.

This lesson is part of the full course

Unlock Web Development: HTML, CSS and JavaScript to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.