Wrapping image elements with anchor elements in HTML


#1

Hello

I'm on lesson 10 of the basic HTML course and it wont let me on to the next lesson. the code i typed in was as follows.

<a href="https://en.wikipedia.org/wiki/Brown_bear" target="_blank"><img src="#" alt="a brown bear with a mountain behind it"/></a>

the message that pops up when i run the code states: did you wrap the image element with an anchor element.


#2

You need to change the src of the image.


#3

Thanks. I got it :slight_smile:


#4