Skip to content

veronika-donets/js_all-is-timed-DOM

 
 

Repository files navigation

All is Timed

Task

Requirements:

  1. Using setInterval, create a page that would display the number of seconds the user spent on it. It will start by displaying 0, after 1 second it will replace 0 with 1, after another second it will show 2 and so on.

  2. Modify the counter so that it never resets: each time the user visits the page, the initial number of seconds he sees is the number of seconds he has already spent on the page. The timer then increases the number by 1 every second, just as it did before.


Read the guideline before start

Guideline

Result

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.3%
  • CSS 12.2%
  • HTML 6.5%