Anchor tag not recognized


<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

I anchor the img tag as asked, but the code is not run and the lesson keeps asking me to anchor my img tag. I have inserted the screenshot of my problematic page. Please help.

Replace this line with your code. 

the <a and href attribute should be on the same line.

1 Like

Thats what I did, but it still does not work.

that looks fine. This is the problem with this new learning environment, i can’t rerun the code. Please copy paste your code to the forum and the exercise url, so at least i can have a better look


all code-

<h1>The Brown Bear</h1>
  <p> The brown bear (Ursus arctos) is native to parts of northern Eurasia and North America. Its conservation status is currently "Least Concern."There are many subspecies within the brown bear species, including the Atlas bear and the Himalayan brown bear.</p>
  <p>The following are the subspecies of bears:</p>
    <li>Nelsoni (extinct)</li>
  <p>The following countries have the largest populations of brown bears:</p>
      <li>United States</li>
<a href="" target="_blank"><img src="#" alt="A brown hairy bear"/></a>

please get back to me as soon as possible.

the image needs to be the image of the brown bear, here is the url:

Thanks a lot. It works