JavaScript JavaScript Basics Introducing JavaScript The Console Challenge Answer

Mayank Sapra
Mayank Sapra
4,555 Points

Hi 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

Mayank Sapra
Mayank Sapra
4,555 Points

Looks 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

1 Answer

rydavim
MOD
rydavim
Treehouse Moderator 16,813 Points

Programming 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! -->