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

behar
10,800 Points<script src> not linking properly
In my index.html file ive added the code:
<script scr="myscripts.js"></script>
The myscripts.js file is located in the same folder on my desktop, but it does not link what so ever. Ive test this by doing console.log("test"), but i get back nothing. Why do i do in a situation like this? UPDATE: I made a copy of everything in a workspace so i could include a snapshot, and it still dosent work. So surely im just making a simple error somewhere: Snapshot
2 Answers

Rich Donnellan
Treehouse Moderator 27,740 PointsHey behar,
Your problem is scr
vs. src
. Spelling counts!

Jason Anders
Treehouse Moderator 145,862 PointsHey there,
You have a typo.
You have scr
when you mean to have src
. Just remember that it stands for SOURCE
. If you delete the vowels, you're left with SRC
.
Keep Coding! :)
behar
10,800 Pointsbehar
10,800 PointsLol, im a derp. Ty!
Rich Donnellan
Treehouse Moderator 27,740 PointsRich Donnellan
Treehouse Moderator 27,740 PointsYou're welcome! It happens to the best of us!