Embed External JavaScript in HTML
This video shows how to embed an external JavaScript file into an html file and use console log to test that the connection is successful. When you nest a script tag at the bottom of the body in an html file, you not only connect the html to the code you write in the js file, but you also get access to a ton of built-in JavaScript functionality that comes just by virtue of using JavaScript. One example of that functionality is the console log. It is a developer tool we use to see the data. This helps understand how the data flows through your application and for debugging and printing out error messages. #javascript #html #website #webdevelopment #es6 #console #debugging
This video shows how to embed an external JavaScript file into an html file and use console log to test that the connection is successful. When you nest a script tag at the bottom of the body in an html file, you not only connect the html to the code you write in the js file, but you also get access to a ton of built-in JavaScript functionality that comes just by virtue of using JavaScript. One example of that functionality is the console log. It is a developer tool we use to see the data. This helps understand how the data flows through your application and for debugging and printing out error messages. #javascript #html #website #webdevelopment #es6 #console #debugging