Linking at will


#1


Can't figure out what's wrong with my code. This is exercise 10/15. I'm trying to wrap an image with a link.
 
https://www.codecademy.com/courses/learn-html-css/lessons/common-elements/exercises/link-at-will?action=lesson_resume

 <img src="https://s3.amazonws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg"
   <a href="https://en.wikipedia.org/wiki/opuntia"
  target="_blank"><img src="#" alt="A red prickly pear fruit"/></a>


#2

There is no closing tag for your first img.


#3

I should have put a closing tag () after the first (.jpg") right?


#4

Try these code:

<a href="https://en.wikipedia.org/wiki/Brown_bear" target="_blank"><img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" alt="Brown Bear"/></a>

#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.