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

HTML

charlie alton
seal-mask
.a{fill-rule:evenodd;}techdegree
charlie alton
Front End Web Development Techdegree Student 8,879 Points

My images wont load any answers.

My images wont load. <img class="logo.png" alt="circles logo" src="images/logo.png">

Are you sure you are setting the right path to images? cz I don't see any errors.

1 Answer

Hi Charlie!

Part of this code is suspect:

<img class="logo.png" alt="circles logo" src="images/logo.png">

I don't know why you would ever use class="logo.png" in the HTML.. It would be class="logo png", if logo was one class and png was another, but I'd have to see the CSS code to really know what's not right.

In the css file, it would make sense to use this:

.logo.png {
  color: lime;
  width: 100%;
  /* etc. */
}

if you had class="logo png" in the HTML.

I hope that makes sense and is helpful.

Stay safe and happy coding!