Linking at will


#1

So as usually i get stuck from the simplest things in the world. I amaze myself.

<!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"><img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" alt="A brown bear"/></a>
  <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>
 
</body> 
</html>

NO IDEA WHAT I AM DOING WRONG: The excercis is in HTML and CSS 1


Replace this line with your code.


#2

Please provide a link to the exercise you are on :slight_smile:


#3

Do you think it might be something with the link or something like that?


#4

One lesson ahed of me can you help?


#5

What's the error message that you're getting?


#6

I am getting this message:

Did you wrap the image element with an anchor tag?

Thanks,

Su-Syin


#7

You probably didn't wrap your image in an anchor tag then :wink:

Please create your own topic if you would like help on this exercise, thanks.


#8

The related question is on lesson 10/15 of Learn HTML&CSS, Part I.

The Instruction is:

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:

Following is the hyper link I entered using the image kink provided:

The image of a brown bear

As the previous email, the error message I received was:

Did you wrap the image element with an anchor tag?

Please let me know if I missed anything. Thanks,

Su-Syin


#9

Hmmm…I checked servereal times but could not find a missing anchor wrap;

the code is

The image of a brown bear

Please kindly assist. Thanks.


#10

Yes people, it was the anchor tag thing :D. Sorry but I am very very new to these kind of stuff so it might take me time to adjust and be more clear :smiley:


#11

Actually u r not doing anything wrong....it's just the course wants you to create a new link on the basis of the picture instead of replacing the "learn more " link and that's why...


#12