This is a simple web app that generates random colors on button click and displays them.
- A button to generate a random RGB color.
- The color code is displayed on the page.
- A box changes its background to the generated color.
- Open the
index.htmlfile in your browser. - Click the "Generate Color" button.
- The color code will appear, and the box will change to that color.
index.html– The main structure.style2.css– The styling.app.js– The logic for generating random colors.
Enjoy generating random colors!