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 trialClayton Bailey
1,453 PointsAm I skipping a step?
I feel like I am entering the info correctly into the files. In the index.html file I have the <script scr="js/script.js"></script> and in the Scripts.js file I have the alert("Hey, you're back for more?"); I have saved both files and when I click the preview button and hit refresh it doesn't seem to execute because the dialog box doesn't appear. Any Ideas?
2 Answers
Clayton Bailey
1,453 PointsI figured out what the issue was. I named the file with a "S" and then in the code i referenced with a "s"
Joe Barnes
Courses Plus Student 654 Points<script scr="js/script.js"></script>
the correct reference is
<script src="Script.js"></script>
src not scr