10. I am stuck on "delete the link you added previously"


#1

Hi zainabrawat,

This is the code I have done so far.

<!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>
  

<a href="https://en.wikipedia.org/wiki/Brown_bear" target="_blank">Learn More</a>
 
  
  <p>The following are subspecies of bears:</p>
  <a>Learn More</a>
  <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>
  
 <img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" alt="" />
  

</body> 
</html>

I am up to part 10. Linking at will of learning html & css part 1.
I am stuck on "delete the link you added previously". Whenever I delete the link and push run, it queries me asking if I had deleted the link that I previously added.
The link I am deleting is <a href="https://en.wikipedia.org/wiki/Brown_bear" target="_blank">Learn More</a>
Any help would be appreciated.
Thanks.


Which link do I delete?
#2

That's where I'm stuck too! Have you figured it out?


#3

I deleted the same link that you mentioned and added the following code

A Red prickley pear fruitBears

It does not open another window. Does anyone know why?


#4

thats right delete the link and change the code with this

learn more


i solved this after 28 hours.
and now i know why we should change the code parameter, if u dont know just figure it out :smiley:

#5

Even Iam stuck at the same point; Please help


#6

How should we figure out? Please help


#7

change the value not a but < p >in learnmore


#8

Just delete the whole image and anchor and then add it. I was stuck on this for 25 minutes. Sigh* I posted my code below:

<!DOCTYPE html>
<html>
<head>
  <title>Animals Around the World</title>
</head>
<body>
  <h1>The Brown Bear</h1>
  <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 target="_blank"><img scr="https://en.wikipedia.org/wiki/Brown_bear"></a>
</body> 
</html>

#9

Alright, this is insane. I've tried every way I know possible, and nothing works. The code above doesn't work. I'm sure it isn't a bug, but really? What's the problem? This is really starting to get on my nerves.


#10

Please post you'r code so I, or someone else, can help. :+1:


#11

I am so stuck and getting so angry.

This is my code:

<!DOCTYPE html>
<html>
<head>
  <title>Animals Around the World</title>
</head>
<body>
  <h1>The Brown Bear</h1>
  <!-- A section that describes the brown bear -->
  <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>Learn More</p>
  <p>Here are some bear species:</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="A big brown Bear"/> 
  </a>
</body> 
</html>

The error I am getting says: Did you wrap the image element with an anchor tag?

Please help.


#12

Sorry to bust your bubble, but that isn't the code, thats the output, please post you'r CODE! Thanks! .


#13

<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>
`

This is my section that I am really getting the error on....


#14

The error I am getting says: Did you wrap the image element with an anchor tag?


#15

Okay, so first, you don't need the quotes, second off, what is target="blank"? Try getting rid of that!


#16

I swear I had the quotes when I posted it. The target should read
target="_blank"

that is how html is suppose to know to open the new window.


#17

<a href="https://en.wikipedia.org/wiki/Opuntia" target="_blank"><img src="#" alt="A red prickly pear fruit"/></a>

This is the example they give in the course of how it should look. Have you taken the new HTML CSS course??


#18

Well here is my code, note that it doesn't use target="_blank"

https://www.codecademy.com/en/courses/learn-html-css/lessons/common-elements/exercises/link-at-will

I find that slightly offensive, I wouldn't be trying to offer help if I hadn't taken the course, secondly, its an example, not the answer.


#19

I truly wasn't trying to offend you. I just found it alarming that you didn't know what the target was for.


#20

Also your link just takes me to the page. It does not show me the code you used.