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 Displaying the Content

Adam Sturchio
Adam Sturchio
3,500 Points

I'm using the "final" project in "3-Displaying the Content" in the course files and the image isn't showing up.

There aren't any errors in the browser console, but i am getting some errors in my terminal claiming 404 and 304 errors.

127.0.0.1 - - [01/Oct/2019 15:30:31] "GET /index.html? HTTP/1.1" 304 - 127.0.0.1 - - [01/Oct/2019 15:30:31] code 404, message File not found 127.0.0.1 - - [01/Oct/2019 15:30:31] "GET /css/styles.css.map HTTP/1.1" 404 -

I have not made any alterations to the code in the "final" directory.

Can someone verify this? Any Suggestions on possible fixes?

Adam Sturchio
Adam Sturchio
3,500 Points

I'm using a python server so its at 'localhost:8000/index.html?'

The site shows up, all the formatting with the form is present, but when i click on the drop down, nothing happens and the card that is suppose to hold the image remains blank.

Its almost like its not talking to app.js

Adam Sturchio
Adam Sturchio
3,500 Points

Nevermind...chrome was being dumb. localhost:8000 worked just fine in firefox..everything showed up.

1 Answer

I uploaded the files to a workspace and the page loaded and displayed the image. What do you see in the browser - a file list?