I want to create a project which have a function that will refresh the browser automatically every 5 seconds . But I don't know what to do? I know that I have to put code in a Setinterval block like this:
setinterval(()=>{
// auto refresh code in here
}