• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 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 Answer
+ 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

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Functions in python
2 Votes
How to make a playground
1 Votes
Html 5 document question
1 Votes
đ™”đ™žđ™œđ™ł đšƒđ™·đ™Ž đ™žđ™œđ™żđš„đšƒ đ™Ÿđ™” đšƒđ™·đ™Ž đ™żđšđ™Ÿđ™¶đšđ™°đ™Œ
1 Votes
Python
0 Votes
Can someone explain inline and block elements please
0 Votes
Actual Artificial Intelligence
0 Votes
Need friends
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
Schuffle a list
0 Votes