Project built during Jonas Schmedtmann's courses on UDEMY.
-
What is the DOM and some DOM's methodes
- querySelector()
- addEventListener()
- Changing styles (colors, width)
- write and read from textContent
-
Refactoring the code (The DRY principle)
- When there is multiple repetition of the code, refactoring allow us to be more confident for example if we have to change any value of a variable and the code is clearer to read and understand.
-
Learn some new js methods like Math.random(), Math.trunc()
- DRY principle
- use more arrow functions and ternary condition when possible
- Commenting my code along the way to code easily