Skip to content

Commit 082f8c7

Browse files
authored
Create README.md
1 parent 4720d51 commit 082f8c7

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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

0 commit comments

Comments
 (0)