/DiceeChallange

A project learning about beginner javascript DOM from Udemy course The Complete 2021 Web Development Bootcamp by Angela Yu

Primary LanguageJavaScript

DiceeChallange

A project learning about beginner javascript DOM from Udemy course The Complete 2021 Web Development Bootcamp by Angela Yu You can see the project at https://tmnguyen98.github.io/DiceeChallange/

There are 2 dices: Player1's dice and Player2's dice.
When resetting the page, the dices will roll randomly
The h1 will show "Player1 won" if Dice1 > Dice2, and h1 will show "Player2 won" if Dice1 < Dice2
If 2 dices are equal, h1 will show "Draw"