How can I make a webpage automatically refresh itself as I'm writing script? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I make a webpage automatically refresh itself as I'm writing script?

I'm using the Atom text editor. Thanks.

12th Sep 2019, 11:51 PM
C. Delaplane
4 Answers
+ 4
13th Sep 2019, 1:27 AM
Qudusayo
Qudusayo - avatar
+ 4
Yaa Qudusayo is right but where .... You can use live server on visual studio code☺☺
13th Sep 2019, 4:03 AM
🇮🇳Abhay Pratap Singh🇮🇳
🇮🇳Abhay Pratap Singh🇮🇳 - avatar
+ 2
Just Search for Live Server in the extensions and install it on visual studio code Abhay pratap Singh
13th Sep 2019, 5:28 AM
Qudusayo
Qudusayo - avatar
+ 1
I can't get it working in sololearn but check out this code I found that might help you - You can write a simple java script code that keeps refreshing your page function timedRefresh(timeoutPeriod) { setTimeout("location.reload();",timeoutPeriod); } window.onload = timedRefresh(5000);
13th Sep 2019, 12:50 AM
HNNX 🐿
HNNX 🐿 - avatar