Contenu du cours
Module 1 — Discovering JavaScript
What JavaScript does, where to write your code, the console and a first script.
0/4
Module 2 — Language fundamentals
Variables and types, operators and conditions, then loops.
0/4
Module 3 — Functions and interactivity
Writing functions, responding to events and manipulating the DOM.
0/4
Module 4 — Going further
Arrays and objects, an introduction to APIs with fetch, and best practice.
0/4
JavaScript for beginners

A web page rests on three complementary languages. Understanding what each one does makes JavaScript’s role immediately clear.

The three pillars of the web

  • HTML — structure and content (headings, paragraphs, images).
  • CSS — appearance and layout (colours, fonts, positioning).
  • JavaScript — behaviour and interactivity.

If a page were a house, HTML would be the walls, CSS the paint, and JavaScript the electricity: it is what switches things on, reacts and makes them move. Thanks to it, a button can open a menu, a form can check what has been typed, or a page can load new data without reloading.

JavaScript runs directly in the visitor’s browser: the end user has nothing to install. It is the only language every browser understands natively, which makes it unavoidable.

Key takeaway: HTML structures, CSS styles, JavaScript animates. It is what makes a page interactive.

Prix indicatifs, convertis depuis l'euro