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

Brandon Thomas
Brandon Thomas
6,229 Points

Code Challenge Help!

Hi,

I seem to be stumped on the last part of the Responsive Design, Flexible Images Part One: Vector Graphics challenge. I feel like I am missing a element from my code below and I don't know what it is.

   '''

<object data="img/love-at-first-bite.svg" type="image/svg+xml">
    <a href="img/love-at-first-bite.svg">
      <!--[ if lte IE 8 ]-->
      <img src="img/love-at-first-bite.gif" alt="Love at First Bite">
      <!--[ end if ]-->
    </a>
  </object>
     '''

3 Answers

Steve N. Peralta R.
Steve N. Peralta R.
31,097 Points

I dont know why because the code above is right. Reload the challenge and try it again.

Wayne Priestley
Wayne Priestley
19,579 Points

The only thing i can suggest is adding

../

before img/

this seems to help sometimes.

Brandon Thomas
Brandon Thomas
6,229 Points

I figured it out thank you folks.