7 More Link Attributes


#1

Hi I'm stuck with this new exercice below. The instructions says: "
1.
In the link that reads Learn More, add the target attribute and set it equal to _blank.
I did it but it still not working so I require your help to understand where did I make a mistake.

Thanks




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.


Learn More
    The following are subspecies of bears:
  • Arctos

  • Collarus

  • Horribilis

  • Nelsoni (extinct)


    The following countries have the largest populations of brown bears:
  1. Russia

  2. United States

  3. Canada




#2

Can you post your code not as one would see on the website but as in the coding window where you can see all the and etc.


#3

Humm that's weird because I copied and pasted the code part and it
apparently appeared as a text...




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.



Learn More

    The following are subspecies of bears:
  • Arctos

  • Collarus

  • Horribilis

  • Nelsoni (extinct)


    The following countries have the largest populations of brown bears:
  1. Russia

  2. United States

  3. Canada




#4

Instead of pasting it with ` around it try just pasting the code in as is and that might show it up as just code


#5

Humm that's weird because I copied and pasted the code part and it apparently appeared as a text...

Can I send it to you by email?

Thanks


#6

You can message it through the site just hit my username and you should be able to message me. I just complete this lesson a few hours ago so it is still fresh in my brain thankfully lol


#7


#8

Yes ok let me look at it! :smiley: and of course anyone else that might chim in haha


#9

Ok, compared to my code and the example I do not see a problem.... try directly copying and pasting the code from the example except with Learn More in it or use this. Not sure of anything else that it could be...

  <a href= "https://en.wikipedia.org/wiki/Brown_bear" target="_blank">Learn More</a>

#10

It works :wink:))! Woot woot Thanks


#11

Glad to have been of help! Happy coding! :smiley:


#12

@bibleman13, for future reference, you can refer people who are wondering how to post their code over to this topic:

@methodrunner84716, you were seeing an error message because of the value that you used for your target attribute. The extra space characters in the first string are unexpected for a target value.

" _blank "
"_blank"


#13

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