URL confusion

Hey Everyone,
I wanted to know if any one can help me.
I am very knew to programming and I am learning HTML.

I was was just asked to add a URL,
https://en.wikipedia.org/wiki/Brown_bear

The hint suggested this,
I am a link with a URL

But when I asked for the solution it posted this,
href=“https://en.wikipedia.org/wiki/Brown_bear”>Learn More

My question is how did I am a link with a URL show up on the main screen when on the coding screen Learn more was typed?

I hope this makes sense.

Kind Regards
Emma. :smiley:

2 Likes

If you want to add a link in HTML you need the <a> tag to use the <a> tag use it this way:

<a href = "link"> name of link </a><!--Remember the closing <a> tag!-->

hope this helped :smiley:

Hello ellq,

It’s simple:

<a href=" Put the url here "> Type in whatever you want the link to look like (example: click me!) </a>

I hope this helped.

Hey Mapotatoka
Thanks for your suggestion.
I got it in the end.
Cheers :slight_smile:

Hi rofazayn
Thanks for you help, I got it in the end.
Cheers :slight_smile:

Happy to help. :grinning:

Hi All,

I’m stuck on the first question " add a link that says: Learn More . Don’t add the URL just yet." I’ve tried entering the full <a href="".Learn More minus the URL AND Learn More. as suggested in the hint, but neither work.

Here’s what I have now:
within the brown bear species, including the Atlas bear and the Himalayan brown bear.

<a>Learn More.</a>

Species

Any suggestions?

here’s a link to my code:

Hello,

add a link that says Learn More

And this is your code

<a>Learn More.</a>

The devil is in the detail :slight_smile:

If your referring to the period I took it out and am still getting an error.

Alright, try refreshing the page or resetting the exercise. Should work.

Tried that, no luck.

I finally gave in and asked for the code solution. It looks like I had it right, but it wouldn’t accept it. Has anyone else ran into this?

Thanks for trying to help ghostlovescore.

1 Like