JavaScript JavaScript Basics (Retired) Storing and Tracking Information with Variables The Variable Challenge

Chandler Carlo
Chandler Carlo
Pro Student 291 Points

All i am getting is 404 not found Is there any way to fix it?

When i Try to preveiw my variable challenge i look in the console and all there is is 404 not found?

1 Answer

Loris Guerra
Loris Guerra
17,536 Points

You should check your <script> tag, probably you end up writing a wrong path to your JavaScript file, so that your HTML file can't find the file you're referring to and gives you a "Not Found" Error.

Be sure it's

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


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

and your "story.js" file is in the root of your project folder.

Hope this helps