+ 1
Web development
If u had a function in JS that prints time to the screen every second, how do make a code to overwrite the screen every second
1 Respuesta
+ 5
You shouldn't need to overwrite the screen, but update it the section where the time will be displayed.
Here are some codes which might give you an idea:
https://sololearn.com/compiler-playground/Wb2jrA56h0Wk/?ref=app
https://sololearn.com/compiler-playground/W0xoIj7xy1My/?ref=app
https://sololearn.com/compiler-playground/Wc4KtRN62C6A/?ref=app
https://sololearn.com/compiler-playground/Wcy27s0Qe5BA/?ref=app