Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.33 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.33 KB

Generate Random Colors

A simple web application that generates a random color each time a button is clicked. This project demonstrates basic JavaScript functionality and dynamic styling of HTML elements.

Features

  • Random Color Generation: Generates a new random RGB color when the button is clicked.
  • Dynamic Background Update: Updates the background color of a div with the generated color.
  • User Interface: A minimalistic design with a button to trigger the color change and a div to display the color.

Technologies Used

  • HTML: For structuring the web page.
  • CSS: For styling the page and its elements (referenced as style.css).
  • JavaScript: For handling the color generation and dynamic updates (referenced as app.js).

Installation

To use this project locally, follow these steps:

  1. Clone the Repository

    git clone https://github.com/yourusername/random-color-generator.git
    
  2. Navigate to the Project Directory cd random-color-generator

  3. Open the HTML File open index.html

Usage

Here’s how to use the Random Color Generator:

Generate a New Color

  1. Click the Generate button to generate a new random RGB color.
  2. The background color of the div below the button will change to the newly generated color.
  3. View the Color

Coder

Shobhit Singh