MicrolearnENPTES

Learn HTML, CSS and JavaScript: 20 free interactive lessons

Short lessons where every step is real HTML, CSS and JavaScript running next to you: structure, style, flexbox, responsive layouts, the DOM, events, APIs and your first complete app.

Do it in the browser: a real HTML, CSS and JavaScript tool, a short mission and instant feedback. No install. Optional certificate at the end of the course.

Open the course

Lessons

  1. Your first web pageA web page is a text file of HTML tags. Write two lines and watch the browser draw them.
  2. Links and listsThe "hyper" in HyperText: links connect pages, and lists organise items.
  3. Images and attributesPictures make pages come alive. `<img>` needs a source and, always, a text alternative.
  4. Page structureHeader, navigation, main content, footer: semantic tags describe the parts of a page.
  5. Selectors and coloursCSS picks elements with selectors and changes how they look: colour, font, size.
  6. The box modelEvery element is a box: content, padding, border and margin. Master the box and layouts get easy.
  7. FlexboxLine items up in a row or a column, centre them, spread them: flexbox does it in two lines.
  8. Responsive designOne page, every screen: grids, flexible units and media queries.
  9. Variables and the consoleStore values in variables and print them with console.log, the programmer’s flashlight.
  10. FunctionsPackage steps under a name, give them inputs and get a result back.
  11. Decisions and loops`if` picks a path, loops repeat work: the two moves behind every program.
  12. Arrays and objectsLists of things and things with properties: the shapes almost all data takes.
  13. Changing the pageThe DOM is the page as JavaScript sees it: a tree of elements you can find and change.
  14. Events: clicks and keysMake the page react: listen for clicks, keys and other events and run a function.
  15. Forms and inputRead what people type, check it and respond without reloading the page.
  16. Building elements from dataKeep data in an array and draw the page from it: the idea behind every modern framework.
  17. Fetching data from an API`fetch` asks a server for data over the network; the answer arrives later, as JSON.
  18. Saving in the browserlocalStorage keeps small data on the device, so the page remembers after a reload.
  19. Accessible and fast pagesGood sites work for everyone: keyboard, screen readers, contrast and speed.
  20. Build a to-do appPut it all together: form, array state, render, events and saving, in about 40 lines.