HTML for beginners | How to enable automatic reloading feature for web pages using javascript ?

Опубликовано: 30 Октябрь 2024
на канале: Green Light Coding
31
3

Green Light Coding presents a new video which shows How to enable or apply auto-refreshing feature for a web page using pure Javascript ?

-- Scroll below to get the code --

BGM CREDIT:

Wanted by Purrple Cat | https://purrplecat.com/
Music promoted by https://www.chosic.com/free-music/all/
Creative Commons CC BY-SA 3.0
https://creativecommons.org/licenses/...


Watch the full video and code it yourself .

people searches for:

html, css, javascript, frontend development, web development tutorial

_____________________________________________________________
Stay connected to us for more necessary coding tricks like these.
_____________________________________________________________

code:
//To reload instantly
//copy this code and paste it in your html file within script tag
window.onload=function (){
location.reload();
}
//For interval reloading
window.onload=function (){
setTimeout('location.reload()', 2000);
}

0:00 -Introduction
0:40 -Setting the localhost and customizing port using batch script
1:15 -Fixing javascript
1:20 -Testing
2:00 -page reload at certain interval
2:40 -Final output






________________________________________________________
#coding #codinglife #python #batchfile #scripting #pythonprogramming #pythontutorial #pythonforbeginners #commandprompt #primenumber
#fontsize #cmd #functions #console #programming #programminglife
#opencvpython #cv2 #catface #facedetection #machinelearning #artificialintelligence #visualstudio


LINK FOR BATCH SERIES PLAYLIST :
   / @greenlightcoding613  
_______________________________________________________________

SUBSCRIBE FOR MORE UPDATES LIKE THESE
_______________________________________________________________
CHANNEL LINK :    / @greenlightcoding613  
_______________________________________________________________