Wrapping Element around Anchor Tag!

<Why won’t it work?>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
Learn HTML & CSS: Part I 10. Linking at Will

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I wrapped the anchor elements in my code but it still doesn’t work for some strange reason!

``` Animals Around the World

The Brown Bear

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.

The following are subspecies of bears:

  • Arctos
  • Collarus
  • Horribiliis
  • Nelsoni (extinct)

The following countries have the largest populations of brown bears:

  1. Russia
  2. United States
  3. Canada
A brown bear
<do not remove the three backticks above>

Be sure to follow the two steps: Delete the element in one step, then Run; wrap the image in the next step and Run.

It doesnt work like that. Its only a one step instruction. the code above is perfect but it still has a red dot next to it.

Can anyone else help? I might just rewrite the entire thing but I still think it wont help.

It is because your missing the anchor from the previous step so it should look like this:

<!DOCTYPE html>
<html>
<head>
  <title>Animals Around the World</title>
</head>
<body>
  <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 subspecies of bears:</p>
  <ul>
    <li>Arctos</li>
    <li>Collarus</li>
    <li>Horribilis</li>
    <li>Nelsoni (extinct)</li>
  </ul>
  <p> The following countries have the largest populations of brown bears:</p>
  <ol>
    <li>Russia</li>
    <li>United States</li>
    <li>Canada</li>
  </ol>
  	<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>
  <a href="https://en.wikipedia.org/wiki/Brown_bear" target="_blank">Learn More</a>
</body> 
</html>
1 Like

I fixed it! Make sure you put spaces between your alt and target tags!!

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