How to connect html with javascript?


I am a beginner of web design, I have made a html files and a javascript file, but I do not know how to connect them on my desktop.

I have put them on Git Hub as follow:
By the way, I want to view the results once I upload the folder, is there any web application can show the result, especially for multiple Javascript files?


Hello, something like this should work. Make sure to fill in the src with where your script is.

<script type="text/javascript" src=""></script> make sure to put it in your <head>


Thank you so much, now I can make it. I have put it on Code Pen:

I have found there are numerous Javascript open source on the web.
However, I do not know how to implement them as a whole and display it on the browser.


I can see that there is some sentences guiding us to implement them, but I am not good at English and hardly can I comprehend the procedure to do these. It would be grateful if someone could provide me some examples of the implementation, especially in video tutorial. Thanks a lot.