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 trialMayank Sapra
4,555 PointsHi there there's a question in the quiz which asks to complete a following statement <script ></script> to load app.js?
I submitted the following answer <script src = "app.js"></script> as taught so far but still the quiz considered it to be a wrong choice? Can you throw some light on it why its not correct? I am quite surprized as I am doing exactly what I have been taught so far?
Regards Mayank
1 Answer
rydavim
18,814 PointsProgramming languages, including JavaScript and HTML, are often very specific about what syntax they will accept. In this case you have the right idea, but you've included a space between src and your equals sign.
<script src="app.js"></script> <!-- No whitespace allowed! -->
Mayank Sapra
4,555 PointsMayank Sapra
4,555 PointsLooks like my answer that i submitted didn't upload with the question here it is again Posting the script as a screenshot : http://snag.gy/4NzAi.jpg
as your system is not accepting the script tags in the post