GithubHelp home page GithubHelp logo

tymski / 10minutes Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 457 KB

Online timer!

Home Page: https://tymski.github.com/10minutes

HTML 29.10% JavaScript 42.61% CSS 28.28%
timer html css javascript

10minutes's Introduction

Timer

This is a Timer with 10 minutes as default value. Type in the text field your desired timer duration and press Enter.

Timer is available here: tymski.github.io/10minutes

10 minutes screenshot

Usage

Write how long your timer should be, for example:

  • 20:00 - 20 minutes
  • 20: - 20 minutes (you can omit zeros)
  • 1:00:00 - one hour
  • 1:: - one hour (you can omit zeros)

You can also provide a title for the timer, like so:

  • 10:00 Eggs - Timer with Eggs as a title
  • 1:30:00 Laundry - Timer with Laundry as a title

You can use GET parameters time and title like this:

Additional features

  • Style changes when you resize to smaller window.
  • Window title shows timer.
  • Can be used offline thanks to Service Worker caching.

Small window screenshot

Installation

It can be installed and work offline like any Progressive Web App.
For example, on Android click the three dot menu on top right and choose "Add To Home Screen" option.

Basic meta info

  • Technology: HTML + CSS + JS + PWA
  • Goal: create simplistic, functional, good looking online timer
  • Address: tymski.github.io/10minutes

TODO

  • Icons: for all platforms and sizes - svg?
  • ServiceWorker: add prefetching and removing old caches
  • Add h m s support like: 1h 30m, 2h40m
  • Reduce content-blocking css (Audit)
  • Add different sizes for the random icons?
  • Add JS and CSS bundling
  • Countdown's value shouldn't be dependent on how many times interval is executed

10minutes's People

Contributors

tymski avatar

Watchers

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