This is a simple React application that generates random colors. When the user clicks the button, it generates a random color code and changes the background color of the page. The generated color code is also displayed, which users can use in their projects.
The Random Color Generator is built using React.js. It demonstrates the usage of React state management (useState) and side effects (useEffect) hooks. The application allows users to interact with it by clicking a button to generate new random colors.
- React.js
- JavaScript (ES6+)
- CSS
To run the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/Sedamalkocc/React-Age-Calculator.git
- Navigate to the project directory:
cd color
- Install the required dependencies:
npm install
- Start the development server:
To run the project on a local server, run the following command:
npm start
The application will run at http://localhost:3000 by default. You can see the application by opening your browser and going to this address.
- Generates random colors with a click of a button.
- Changes the background color of the page dynamically.
- Displays the generated color code.
public/
: Contains the HTML file and other static assets.src/
: Contains the React components and styles.
Screenshots are in the ScreenShot folder.
This project is licensed under the MIT License. See the [LICENSE] file for more information.