Skip to content

reddy-epk/Stop-Watch

Repository files navigation

Building a React Stopwatch .

Refer to the image below:


stopwatch output

Design Files

Click to view

Set Up Instructions

Click to view
  • Download dependencies by running npm install
  • Start up the app using npm start

Use these files to complete the implementation:

  • src/components/Stopwatch/index.js
  • src/components/Stopwatch/index.css

Quick Tips

Click to view
  • Used the box-shadow CSS property to apply the box-shadow effect to containers

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

    box shadow
  • Used Math.floor() function that returns the largest integer less than or equal to a given number

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

Resources

Image URLs
Colors
Hex: #ffffff
Hex: #333333
Hex: #1db05f
Hex: #ef0d36
Hex: #eaa800
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.