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

CSS How to Make a Website Adding Pages to a Website Add a New Page

The image is not appearing

I renamed, and thought it was the class on the HTML, something i did with the css, but when adding the properties, display: block; the image dissapears, I'm using aurora

Adam Moore
Adam Moore
21,956 Points

You're probably going to have to add your code on here so that it'll be easier to see what may be the issue. You can use the "Markdown Cheatsheet" below the text area for help on how to add code into the forum.

1 Answer

Sean Perryman
Sean Perryman
13,810 Points

Juan, what Adam is trying to say is that posting the code snippet you are referring to is usually the best way to get help on issues like this. What I would do, in your situation, is remove all the CSS formatting from the image and re-add it one by one. After removing all the formatting from the CSS for that image, reload the page and see if the image loads.

You can also utilize the google chrome developer tools (or firefox, whichever browser you are using) to see what CSS is being applied to the page. If something is hidden, it won't show up there, but it might give you a clue as to what is going on that is hiding your image. Good luck!