To do this we need to create an HTML file. You can call it what ever you want and we just need to put our basic HTML here. In this example we will give it a name index.html . We do not have to put anything here if we do not want to but just to make it clear its the same page we are going to put a h1 tag.
<h1>Den Of Developers</h1>
Just like any other site we can open up the console and start writing some JavaScpript here. But the whole point is
refresh the page it will do nothing because its not connected. To do that we use the script tag. Script tag is not self
closing so we need to have a closing tag and then we need the source (src) attribute. That source attribute needs to be the equal to the file that we want to load.
Now if we hit refresh we will get a pop up or alert that says Hello from Den Of Developers and any time we refresh the page we get the same pop up automatically.