This repository contains a React project that demonstrates a tile toggling functionality. When a tile is clicked, its size increases while the other tiles revert to their original size. The tiles alternate between black and white colors.
- Tiles are displayed in a grid layout.
- Clicking on a tile increases its size while resetting the size of other tiles.
- The size of the tiles is controlled using state and the
.map()
method. - Tiles are colored alternately in black and white.
-
Clone the repository:
git clone https://github.com/Kush-munot/Scorbits-Tasks.git
-
Navigate to the project directory:
cd react-tile-toggling Install the dependencies:
-
Installation commands
npm install
-
Start the development server:
npm start
-
Open your browser and visit http://localhost:3000 to view the application.
-
Click on the tiles to see the toggle effect in action.
React JSX CSS
This project is licensed under the MIT License. See the LICENSE file for details.
In this README file, you can customize the installation instructions, provide usage details, and list the technologies used in your project. You can also add information about licensing or any other relevant details specific to your project.
Remember to include the appropriate LICENSE
file in your repository if you choose to use a specific license.
Feel free to modify and enhance the README file to suit your projet