Issues with Part 1 Lesson 10:Linking at will


I'm pretty sure I got this code right, yet I keep receiving this error message.

Replace this line with your code.


This appears to be correct according to my tests, could you copy and paste your code? I want to see if something in the rest of your code is not correct that I can't see.


<!DOCTYPE html>
  <title>Animals Around the World</title>
  <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>
    <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 Bear"/></a>


I'm having the same problem, my code is practically the same to yours. Please help!


I am also experiencing the same issue and the code is exactly the same?


You could try using another browser for this exercise?


alright so for everyone having this problem, i think to fix it you just should copy your code (CTRL+A, CTRL+C) and then reset the exercise with the little reset button next to "RUN", and then paste your code back in (CTRL+V). For some reason that made it work for me


Here's my code:

<a href="" target="_blank">
<img src="" alt="Picture of a brown bear"/>

But when I click on run, the message error says "Did you wrap the image element with an anchor tag?", I tried to cut and paste the code after a refresh, in another browser but the result is the same.
Is my code wrong?
Thanks for you answers


I realized it didn't like that I deleted my "Learn More" link. My coding was right, but changing anything else immediately made it not happy with the coding.



I had issues with the lesson, too. So I tried your code and it worked on my side.


The problem here is that we all delete phrase "Learn More".

Try code below

<a href="" target="_blank">Learn More
<img src="" alt="Picture of a brown bear"/>


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