Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Using defer attribution

//<head> //<!-- External JavaScripts //============================================= script type="text/javascript" src="js/jquery.js"></script> script type="text/javascript" src="js/plugins.js"></script> /head>

body> script></script>//for movie /body> /html>

Hi all, I'm trying to reduce pagespeed, so have tried 'defer attribution' in both External JavaSCripts. However, when i used defer attribution, my video clip, for my main web-site, is disappear. please let me know how to solve this problem.

Thank you.

<!-- External JavaScripts ============================================= --> <script defer type="text/javascript" src="js/jquery.js"></script> <script defer type="text/javascript" src="js/plugins.js"></script>

this is what I tried