Giter Club home page Giter Club logo

digitaltimer's Introduction

In this project, I've built a Digital Timer App by using React JS.

Aim

The aim of the project is to build a Digital Timer by using react class component state(private property) to capture any changes in the component

Refer to the image below:


digital timer output

Design Files on Different Devices

Click to view

App Functionalities

Functionalities added

The app has the following functionalities

  • The default timer limit value is 25 minutes
  • When the Start button is clicked,
    • The Start text will change to Pause text
    • The play icon will be replaced by pause icon
    • The Timer status will change to Running
    • The Timer will start running backwards from the timer limit value set
    • If the Timer has been paused after starting, it will resume from where it was paused
    • Both the Plus and Minus buttons will be disabled
  • When the Pause button is clicked,
    • The Pause text will change to Start text
    • The pause icon will be replaced by play icon
    • The Timer will stop running backwards
    • The Timer status will change to Paused
    • Both the Plus and Minus buttons will be disabled
  • When the button with the Plus symbol is clicked,
    • The timer limit value will be incremented by one minute
    • The Timer will display time with the increased timer limit value
  • When the button with the Minus symbol is clicked,
    • The timer limit value will be decremented by one minute
    • The Timer will display time with the decreased timer limit value
  • When the timer limit value is modified by clicking the Plus or Minus button and the Start button is clicked, then the Timer will start with the modified timer value
  • When the Timer ends (displays 00:00)
    • The Pause text will change to Start text
    • The pause icon will be replaced by play icon
    • The Timer will stop running backwards
    • The Timer status will change to Paused
  • After completion of Timer, when the Start button is clicked,
    • The Start text will change to Pause text
    • The play icon will be replaced by pause icon
    • The Timer will start running backwards from the current timer limit value.
    • The Timer status will change to Running
  • When the Reset button is clicked, then
    • The Pause text will change to Start text
    • The pause icon will be replaced by play icon
    • The Timer will stop running backwards
    • The Timer status will change to Paused
    • Initial Timer limit value will be displayed
    • Both the Plus and Minus buttons will be enabled

Resources

Image URLs
Colors
Hex: #ffffff
Hex: #cffcf1
Hex: #1e293b
Hex: #0f172a
Hex: #defafe
Hex: #00d9f5
Font-families
  • Roboto

digitaltimer's People

Contributors

raghavrover avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.