Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 865 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 865 Bytes

guess-the-color

Guess The Color is a fun guessing game where you can test your knowledge of RGB color codes.
Choose one of 3 game levels (Easy, Normal & Hard) and let the games begin! 🌈

You can check out the game here.

👍 Motivation behind the project

Understanding how pseudo code helps with writing the actual code by breaking down the expected behaviour of different elements in each step of the way

🌱 What I learned

➡️ how to use Math.floor() & Math.random() functions to create a random RGB color
➡️ how to utilize style backgroundColor property to change the background color of the element
➡️ how to use this keyword in combination with the addEvenListener() method