JavaScript: make pages do things
JavaScript adds behaviour: it reacts to clicks, calculates, and changes the page. These lessons run in your browser. Use console.log(...) to print a value; Run shows everything printed.
Las lecciones van de la más fácil a la más difícil.
- 1Printing with console.log✔ hecho
- 2Variables: let and const✔ hecho
- 3Data types: numbers, strings, booleans✔ hecho
- 4Operators✔ hecho
- 5Decisions with if and else✔ hecho
- 6Loops: for and while✔ hecho
- 7Functions✔ hecho
- 8Arrow functions✔ hecho
- 9Arrays✔ hecho
- 10Objects✔ hecho
- 11Array methods: map and filter✔ hecho
- 12Events in the browser✔ hecho
- 13Errors and try/catch✔ hecho
- 14Mini project: a simple calculator✔ hecho