Learn Javascript, Javascript and the DOM, Linking Javascript, Codecademy

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=9D0fLd6iZME



Duration: 4:29
261 views
2


In this lesson we learn how to link a Javascript file to an html file. Linking javascript is done with a script tag. The script tag is usually put at the bottom, before the closing body tag. The script tag should have a src attribute which links to the javascript file location. Once you have linked to your js file correctly, you can then apply javascript code to your website.







Tags:
Javascript tutorial
DOM Manipulation
HTML and Javascript
linking javascript
link to html