File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Background Color Changer 🎨
2+
3+ This is a simple beginner-level JavaScript project that changes the background color of the webpage to a random color each time the button is clicked.
4+
5+ ## 🔧 Tech Used
6+ - HTML
7+ - CSS
8+ - JavaScript (DOM + Events)
9+
10+ ## 🚀 How It Works
11+ - A button is placed on the page.
12+ - When the user clicks the button, a random color is generated using JavaScript.
13+ - The background of the webpage updates with the new color.
14+ - The hex code of the current background is also shown on the page.
15+
16+ ## 🌐 Live Demo
17+ [ Click here to see the live project] ( https://SuRu190.github.io/bg-color-changer/ )
18+
19+ ## 📚 Learning Purpose
20+ This project helped me practice:
21+ - JavaScript DOM selection
22+ - Event listeners
23+ - Random number generation
24+ - Basic styling with CSS
25+
26+ ## 🔜 Future Improvements (optional ideas)
27+ - Add a "Copy Color Code" button
28+ - Show color history
29+ - Add animations or transitions
You can’t perform that action at this time.
0 commit comments