Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mmallikarjun2312/stopwatch_app

https://stopwatch2312.ccbp.tech/
https://github.com/mmallikarjun2312/stopwatch_app

Last synced: about 1 month ago
JSON representation

https://stopwatch2312.ccbp.tech/

Awesome Lists containing this project

README

        

In this project, let's build a **Stopwatch** by applying the concepts we have learned till now.

### Refer to the image below:




stopwatch output


### Design Files

Click to view

- [Extra Small (Size < 576px), Small (Size >= 576px)](https://assets.ccbp.in/frontend/content/react-js/stopwatch-sm-output.png)
- [Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px)](https://assets.ccbp.in/frontend/content/react-js/stopwatch-lg-output.png)

### Set Up Instructions

Click to view

- Download dependencies by running `npm install`
- Start up the app using `npm start`

### Completion Instructions

Functionality to be added

The app must have the following functionalities

- When the **Start** button is clicked, then the Stopwatch should start running
- When the **Stop** button is clicked, then the Stopwatch should stop running
- When the **Reset** button is clicked, then the Stopwatch should be reset to zero

Implementation Files

Use these files to complete the implementation:

- `src/components/Stopwatch/index.js`
- `src/components/Stopwatch/index.css`

### Quick Tips

Click to view

- You can use the `box-shadow` CSS property to apply the box-shadow effect to containers

```
box-shadow: 0px 4px 16px 0px #bfbfbf;
```



box shadow

- You can use `Math.floor()` function that returns the **largest integer less than or equal to a given number**

```js
console.log(Math.floor(5.95)); // output: 5
```

### Resources

Image URLs

- [https://assets.ccbp.in/frontend/react-js/stopwatch-timer.png](https://assets.ccbp.in/frontend/react-js/stopwatch-timer.png) alt should be **stopwatch**
- [https://assets.ccbp.in/frontend/react-js/stopwatch-sm-bg.png](https://assets.ccbp.in/frontend/react-js/stopwatch-sm-bg.png)
- [https://assets.ccbp.in/frontend/react-js/stopwatch-lg-bg.png](https://assets.ccbp.in/frontend/react-js/stopwatch-lg-bg.png)

Colors


Hex: #ffffff

Hex: #333333

Hex: #1db05f

Hex: #ef0d36

Hex: #eaa800

Font-families

- Roboto

> ### _Things to Keep in Mind_
>
> - All components you implement should go in the `src/components` directory.
> - Don't change the component folder names as those are the files being imported into the tests.
> - **Do not remove the pre-filled code**
> - Want to quickly review some of the concepts you’ve been learning? Take a look at the Cheat Sheets.