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
Maja B.
12,984 PointsSwap out <img src="img/love-at-first-bite.gif alt="Love at First Bite"> tag with the correct HTML markup to instead brin
Hi, I'm trying all sorts of code but I'm not able to pass this challenge.
Here is what I do:
<object data="img/love-at-first-bite.svg" type="image/svg+hml" class="chart">
<img src="img/love-at-first-bite.gif alt="Love at First Bite>
</object>
... and it does not work.
Please help :) Maja
7 Answers
Pav Cieslak
808 PointsMaja i hoped u will figure it out after my initial post :P look at the word { it's } :P
Maja B.
12,984 Points:))) Ok, thanks ... now I've passed with this:
<object data="img/love-at-first-bite.svg" type="image/svg+hml" class="chart">
<a href="img/love-at-first-bite.svg">
<img src="img/love-at-first-bite.gif alt="Love at First Bite>
</a>
</object>
But I swear that 2 days ago I was writing that same thing in the challenge editor and it did not let me through. Ok, could be that it was a typing mistake ...
TNX!
Unsubscribed User
6,144 PointsYou missed some quotes in this line :
<img src="img/love-at-first-bite.gif alt="Love at First Bite>
It should be like this :
<img src="img/love-at-first-bite.gif" alt="Love at First Bite">
Maja B.
12,984 PointsYou are right ... here in the forum editor I've forgotten the quotes but in the challenge editor I've written them. What I really have forgotten (in the challenge editor) was to swap out the img tag into a tag as well (not just inside an object tag). When I added the a tag I've passed the challenge. But thanks anyway. I guess its a good practice to copy-paste the code not to retype it (as I did in this case) to avoid misunderstandings such as this one. I'll keep that in mind :)
Maja B.
12,984 PointsI have figured it out after your first post. Just that it was not just the quote missing but also the a tag. Thank you.
Maja B.
12,984 Points:)))))))))) only now I see what you mean by look at the word { it's } No, I didn't get the hint then. Anyhow thanks for a good guidance.
Pav Cieslak
808 PointsGreat ! :) happy coding :)
Muhammad Rizwan
8,595 Points<object data="img/love-at-first-bite.svg" type="image/svg+xml" class="logo"> <!--[if lte IE 8 ]--> <img src="img/love-at-first-bite.gif" alt="Love at First Biten"> <!--![endif]--> </object>
Pav Cieslak
808 PointsPav Cieslak
808 PointsHi Maja, i think you should double check the syntax in your code :) it"s missing something :P