I'm unsure on how to fix a problem please help


#1

Help I cant see whats wrong with this code.

The task was to: In index.html, transform the image on your page into a link by wrapping the image element with an anchor element. Set the target attribute so that the link opens in a new window.

Use the same URL as before:
It just says: Did you wrap the image element with an anchor tag?

<!DOCTYPE html>
<html>
<head>
  <title>Animals Around the World</title>
</head>
<body>
  <h1>Types of bears</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>
  <ul>
    <li>Arctps</li>
    <li>Collarus</li>
    <li>Horribilis</li>
    <li>Nelsoni (extinct)</li>
    <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="A brown bear!"/></a>
    </body> 
</html>

If anyone could help i would be very thankful as I am very new to html and coding in general.


#2

I'm having the same problem and I can't fix it either


#3

Some lessons present with a back end issue where our workspace is not updating when we submit our code. The workaround is to Run, refresh and Run again. This seems to get everything caught up. Sometimes it will advance to checking the next step and mark it wrong. Ignore this and just complete that step and Run. Be sure to only complete one step at a time, Sometimes we take something out in one step, only to put it back in the next.


#4

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