Skip to content

valeraonisko/dom_all-is-timed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

All is Timed

  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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published