Some toy projects for learning the features of JavaScript.
Implemented these projects according to the course The Complete JavaScript Course 2021: From Zero to Expert! on Udemy:
https://www.udemy.com/course/the-complete-javascript-course/
Guess a number between 1 to 20.
Learned basic DOM Manipulations and 'click' event.
Implemented a model window.
By adding and removing classes to change the appearence of UI styles.
Learned how to work with classes and listen for keyboard events.
Two players will roll their dices.
When one player roll his dice, the points will be added to the current points unless the dice is one.
When player roll the 'one', the current points will be reset and the player will be switched.
When player pressed the 'hold' button, the current point will be added to the total points and the player will be switched.
The player who first reached 100 points will win the game.
Fully understood how to change the states and appearences of webpages through doing basic DOM Manipulations and write event handlers.