- Randomly generates a background color.
- Displays the current background color in HEX format.
- Responsive design.
- Smooth and instant color change.
- User-friendly interface with a stylish button.
- When the user clicks the "Change Color" button, a new random HEX color is generated.
- The background of the page updates to the new color.
- The HEX code of the current background color is displayed in real-time.
- Sets up the basic structure: a color display and a button.
- Styles the background, text, and button.
- Ensures responsive and clean layout.
- Adds padding, rounded corners, and shadows for better visuals.
- Handles random color generation.
- Updates the background color and the displayed HEX code dynamically.
- Adds an event listener to the button for user interaction.
This project is a fun and interactive way to learn about DOM manipulation, event handling, and color generation using HTML, CSS, and JavaScript.
