Welcome to my Color Game! This is a small application for implementing JavaScript with HTML and CSS. This is a guessing game that gives you a color based on its Red, Green and Blue Color Model. Then, out of the four choices of colors displayed, you will guess which color matches the RGB Color Model by clicking on the color. If you pick the right color, congratulations! You advance to the next round! If you guess wrong, the color you clicked will disappear and you have to guess again! Good luck!
- Clickable colors squares to guess which color matches the RGB Model
- A reset button to display a new set of colors should the user want to change them
- [https://mycolorgame.netlify.com/]
- Added Ternary Operator for refactoring experiment (line 18)
- Changing Font Size of h1 so display will be one line on responsive small devices
- Additional refactoring
- Added function to randomize colors to display in boxes
- Created a Reset Button to choose another set of colors
- Modified Background Color to match the correct picked color
- Background color resets to black when the game is restarted
- Adjustments to design, font sizes, margins and set color scheme
- Made transition fade for colors when incorrect
- Some refactoring
- Initial Repository created
- Added six hard-coded colors to sample, created loop to list colors
- Created if/else statement to determine is user clicked on correct color
- User answer prompted with either a correct or incorrect alert
- Added function to offer random numbers to fee from hard-coded RBG array
- All colors will turn when the correct color is picked