An open API service indexing awesome lists of open source software.

https://github.com/darshanas17/stopwatch-app-react

The Stopwatch App is a simple and interactive React application that allows users to start, stop, and reset a stopwatch. It demonstrates the use of React state and event handling.
https://github.com/darshanas17/stopwatch-app-react

css es6-modules html javascript reactjs state-management ui-design

Last synced: 2 months ago
JSON representation

The Stopwatch App is a simple and interactive React application that allows users to start, stop, and reset a stopwatch. It demonstrates the use of React state and event handling.

Awesome Lists containing this project

README

          

# ⏱️ Stopwatch App

## 🚀 Live Demo

[Click here to view the demo](https://Darshanas17.github.io/Stopwatch-App-React/)

### Refer to the image below:




stopwatch output


## 📌 Overview

The **Stopwatch App** is a simple and interactive React application that allows users to start, stop, and reset a stopwatch. It demonstrates the use of React state and event handling.

## ✨ Features

- **Start Stopwatch:** Start the timer with a single click.
- **Stop Stopwatch:** Pause the timer anytime.
- **Reset Stopwatch:** Reset the timer back to zero.
- **Responsive Design:** Works smoothly across all screen sizes.

## 🛠️ Tech Stack

- **React.js** - Frontend UI
- **CSS** - Styling

## ⚙️ Installation & Setup

Follow these steps to set up the project locally:

1. **Clone the Repository**
```bash
git clone https://github.com/Darshanas17/Stopwatch-App-React.git
cd Stopwatch-App-React
```
2. **Install Dependencies**
```bash
npm install
```
3. **Run the Application**
```bash
npm start
```
4. Open the browser and visit `http://localhost:3000/` to see the app in action.

## 📁 Components Structure

The application consists of the following component:

- **Stopwatch** (`src/components/Stopwatch/`)

## 🎯 Functionality

- Click **Start** to begin counting time.
- Click **Stop** to pause the timer.
- Click **Reset** to reset the timer to zero.

## 🎨 Design & Assets

- UI designed using **Roboto** font.
- Colors used:
- `#ffffff` (White)
- `#333333` (Dark Grey)
- `#1db05f` (Green - Start Button)
- `#ef0d36` (Red - Stop Button)
- `#eaa800` (Yellow - Reset Button)
- Icons and images sourced from: [CCBP Assets](https://assets.ccbp.in/frontend/react-js/)

## 👨‍💻 Author

**Darshan A S**

- [LinkedIn](https://www.linkedin.com/in/darshan-a-s/)
- [Portfolio](https://darshanas17.github.io/darshan-as-17-portfolio/)

## 📜 License

This project is licensed under the **MIT License**.