Colour Flipper
Color Flipper is a web application created using HTML, CSS, and JavaScript. It allows users to change the page's background colour by clicking a button. The colour changes randomly with each click, displaying the hex colour code and updating the background accordingly..
- Random Color Generation: Generates random hex colour codes to create various background colours.
- Dynamic Background Change: Updates the background colour in real-time upon clicking the "Change Background" button.
- Hex Color Display: Displays the generated hex colour code for reference.
- HTML: Provides the structure of the web page.
- CSS: Styles the elements on the page for a better user interface.
- JavaScript: Implements the functionality to change the background colour randomly.
index.html
: Contains the HTML structure of the web page.style.css
: Includes styles for the web page elements.javascript.js
: Implements the functionality to change the background colour randomly.
Check out the live demo here.
- Clone the repository:
[email protected]:Gokilp/Colour-Flipper.git
- Open the project in your preferred code editor.
Contributions are welcome! If you find any issues or want to enhance the project:
- Fork the repository.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -am 'Add some feature'
).