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

https://github.com/reddy-epk/timer-app

An Interactive react digital timer app
https://github.com/reddy-epk/timer-app

component-life-cycle-methods timer timer-application timer-clock

Last synced: 2 months ago
JSON representation

An Interactive react digital timer app

Awesome Lists containing this project

README

        

Building a **Digital Timer App**
### Refer to the image below:




digital timer output


### Design Files

Click to view

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

### Set Up Instructions

Click to view

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

Implementation Files

Use these files to complete the implementation:

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

### Quick Tips

Click to view

- Use the `box-shadow` CSS property to apply the box-shadow effect to containers

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



box shadow

- 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
```

- Use the `background-position` CSS property to set the starting position of a background image
```
background-position: center;
```

### Resources

Image URLs

- [https://assets.ccbp.in/frontend/react-js/digital-timer-elapsed-bg.png](https://assets.ccbp.in/frontend/react-js/digital-timer-elapsed-bg.png)
- [https://assets.ccbp.in/frontend/react-js/play-icon-img.png](https://assets.ccbp.in/frontend/react-js/play-icon-img.png) alt should be **play icon**
- [https://assets.ccbp.in/frontend/react-js/pause-icon-img.png](https://assets.ccbp.in/frontend/react-js/pause-icon-img.png) alt should be **pause icon**
- [https://assets.ccbp.in/frontend/react-js/reset-icon-img.png](https://assets.ccbp.in/frontend/react-js/reset-icon-img.png) alt should be **reset icon**

Colors


Hex: #ffffff

Hex: #cffcf1

Hex: #1e293b

Hex: #0f172a

Hex: #defafe

Hex: #00d9f5

Font-families

- Roboto

> ### _Things not_to change_
>
> - 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.