This forum is now read-only. Please use our new forums at discuss.codecademy.com.

HTML Basics Forum

View Course » View Exercise

70 points
78a2ab445363ed9559bd0c5911ccd0c5?s=140&d=retro
Submitted by
codingmaster99
over 3 years ago

Doing something wrong?

Why won't it work if I followed the directions?
It won't work, here is the code:

    <img src="http://upload.wikimedia.org/wikipedia/commons/2/22/Turkish_Van_Cat.jpg" />

    <a href="http://en.wikipedia.org/wiki/File:Van_cat,_Van,_Turkey_1973.jpg"></a>
</body>

Please tell me what I am doing wrong.
I don't understand, I followed the steps & directions.
Am I just not seeing what is wrong, or did I do something wrong?


1 vote

permalink

Your hyperlink is redirecting the user to the .jpg file, whereas the lesson wants you to use the .jpg as an hyperlink to another website.

    <a href="Any website you choose"> 
<img src="http://upload.wikimedia.org/wikipedia/commons/2/22/Turkish_Van_Cat.jpg" />  
</a>

296 points
Picture
Submitted by
Juan Diamante
over 3 years ago

1 Comment

79900ec12837b9e249a5f5f55fb94614?s=140&d=retro leo345 about 3 years ago

thx