README.md

JavaScript & the DOM

Example code and exercises for the glibCode course JavaScript & the DOM (Beginner, about 12 hours).

Make web pages react: events, the DOM, fetch and async/await. You finish with a weather widget that talks to a real API.

Lessons

#LessonCode
1Values, variables and const0
2Functions and arrow functions0
3Arrays: map, filter, reduce0
4Objects and JSON0
5Selecting and changing elements0
6Events and listeners0
7fetch and promises0
8async/await without tears0
9Project: weather widget0

Getting started

git clone https://git.glibcode.net/glibcode/javascript-web.git
cd javascript-web

Node.js 20 or newer for the .js files; the DOM lessons run in any browser.

Questions? Ask in the course forum or write to help@glibcode.net.

License

The code is MIT licensed (see LICENSE). The lesson texts are © glibCode.