Giter VIP home page Giter VIP logo

timerapp's Introduction

TimerApp

Basic Interval Timer written in Javascript. Should work with most Desktop and Mobile Browsers.

Use

The Timer App can create a multiple "stage" timer in Edit Mode and counts down starting from the top stage in Timer Mode.

Pressing the button below 'mode' changes the App's current mode and behavior.

Edit Mode

The app starts in Edit Mode.

Here, the user can add stages by pressing the '+' button, and remove stages by pressing the corresponding stage's '-' button.

Each stage has three editable fields: name, minutes, and seconds. Stage names have a 15 character limit. While Minutes can be any two digit positive whole number, if a seconds input is greater than 59, the seconds field will revert to 59.

If the user presses a field and makes no edits, that field will revert to default setting. Minutes/Seconds revert to 00, Stage Names revert to silly phrases.

Timer Mode

In Timer Mode, the buttom button turns green and functions as a 'play' button. Once the play button is hit, the play button converts into a 'pause' button and the top stage begins counting down, chirping and changing color when the current stage is complete before counting down the next stage.

Once the play button is hit, the mode will read 'RUNNING' to indicate the timer is currently counting down. When the pause button is pressed, the mode will read 'RESET'; pressing the reset button will reset all minute and second values to thier defaults (aka their last values when leaving edit mode).

When all stages are complete, the app will alert with a different sound (bit like an elevator noise).

timerapp's People

Contributors

thinknboutstuff 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.