I want to display an HTML button after a definite time (5 days) and not uninitialized after each refresh for the web page
thank's in advance
I want to display an HTML button after a definite time (5 days) and not uninitialized after each refresh for the web page
thank's in advance
There are two parts to this problem:
There are many different ways to do the former (e.g. cookies, local storage, a server-side script) but the latter is easiest accomplished with setTimeout
.
If you had searched more deeply on Stack Overflow, you would have found these useful resources: