-
Using
setInterval
, create a page that would display the number of seconds the user spent on it. It will start by displaying0
, after 1 second it will replace0
with1
, after another second it will show2
and so on. -
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.
forked from mate-academy/dom_all-is-timed
-
Notifications
You must be signed in to change notification settings - Fork 0
valeraonisko/dom_all-is-timed
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published