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!

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 Review Introducing JavaScript

Raven Cole
Raven Cole
504 Points

Tells me to finish code <script _____________></script> with file app.js. I put in src = "app.js", but doesn't work?

Am I doing something wrong? I feel I am doing it right. I am a beginner, but is something wrong? Won't let me move on to the next lesson :(

2 Answers

Erik McClintock
Erik McClintock
45,783 Points


Are you putting spaces around your equals sign? If so, remove those, and you should be good.

You don't want this:

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

You want this:

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

Note again, the only difference is that there are no spaces around the equals sign.


Raven Cole
Raven Cole
504 Points

Thanks that worked out fine. Are spaces not allowed when it comes to JS? And linkage of files to each other?