As a project grows the load time of pages will slowly increase. Many people look to the back-end for solutions to this problem, when in reality the way JavaScript is loaded can make a large different in page load speed. In this video I will look at the three ways to load JavaScript, normal script tags, async script tags, and defer script tags. I will cover how each method interacts with page speed, and the pros and cons of each. By the end of this video you will have a strong understanding of the various ways to load JavaScript and will be better equipped to make faster and more responsive pages.

Async Vs Defer Article:
https://blog.webdevsimplified.com/2019-12/javascript-loading-attributes-explained

Twitter:
https://twitter.com/DevSimplified

GitHub:
https://github.com/WebDevSimplified

CodePen:
https://codepen.io/WebDevSimplified


#AsyncVsDefer #JavaScript #WebDevelopment