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 Hello, JavaScript! Add JavaScript to HTML

The browser will not retrieve and run the "script.js" file from the js folder. <script> scr="js/script.js"></script>

Browser doesn't appear to be recognizing the js folder. As it will not retrieve the script js file that was made during this lesson.

When looking at the inspection bar there only appears to be a css folder.

1 Answer

Rick Gleitz
Rick Gleitz
47,876 Points

Hi Paul, Simply change your scr to src. It helps to think of this as source so you get the letter order right.

Hope this helps.

Thank you Rick!

I see the error now and the code runs. However previously my "js" folder wasn't showing but now it does. Strange, cant tell if this has to do with the typo. Regardless the code works so I suppose I need not worry for now lol. Thanks agian!