Kursy
Zaloguj sięZacznij uczyć się AI
Kursy
Zaloguj sięZacznij uczyć się AI
+ 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

javascript
24th Mar 2025, 6:50 AM
FENG LI
FENG LI - avatar
1 Odpowiedź
+ 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
24th Mar 2025, 7:27 AM
Ausgrindtube
Ausgrindtube - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Which is easier to learn first between python and JS?
0 Votes
Does sololearn teaches on how to create games
0 Votes
Excuse me, why do they always ask us to input without telling us what it is for in python.
2 Votes
Sockets, etc
0 Votes
Quiz
0 Votes
I HAVE A PROBLEM I CANNOT ABLE TO SEND MESSAGE ANYONE AND ALSO MY MESSAGE SECTION NOT AVAILABLE "PLEASE ACTIVATE YOUR ACCOUNT
0 Votes
Necesitó ayuda
1 Votes
Any Sololearn Chat Groups that I could Join?
0 Votes
Controls issue
0 Votes
can't understand an error
0 Votes