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 JavaScript Basics (Retired) Introducing JavaScript Where Does JavaScript Go?

scripts.js not linking

https://w.trhou.se/fci4odfcls

It looks like people had an issue with this a year or so ago. That thread didn't help me solve my issue. My alert from scripts.js isn't loading. The alert I wrote within the HTML file loads no problem, the HTML file loads and then my linked alert doesn't execute.

2 Answers

Instead of:

<script>scr="scripts.js"</script>

it should be:

<script src="scripts.js"></script>

oh dear, thank you.