freeCodeCamp Challenge Guide: Link to External Pages with Anchor Elements

Link to External Pages with Anchor Elements


Problem Explanation

In this challenge you should use everything you have learned so far.
The HTML elements syntax:

  • Opening tag
  • Content
  • Closing tag

And the tag attributes syntax:

  • <tag
  • key=“value”
  • > ( /> in case of self-closing tags )

You are asked to give to an a tag the attribute (key) href with the value of "http://freecatphotoapp.com" and to use the text “cat photos” as content of the same a tag

Relevant Links

8 Likes

There is a bug I put :
"

Here’s a cat photos

" and it's not ok for validate.

Sorry for my english I learn English and coding :slight_smile:

can you help me

4 Likes

link to cat photos
this is the answer i think buddy… good luck!

Well, I passed this challenge but I’m stuck on that page. It’s not moving forward, is this the end or what?

3 Likes

Had the same problem,i refreshed my page and it worked like a charm. (No its not the end)

3 Likes

even though wrote the correct code, code is still not running…is there something wrong with the below code…plz help somebody…

Here's a link to Free Code Camp for you to follow.

Guys it is not letting me pass
fix it

3 Likes

finally it worked…

2 Likes

how? what did you do differently?

Try refreshing your screen first. I just had the same problem and refreshing the screen fixed it.

Make sure to copy your code before refreshing, just to be safe!

1 Like

thanks pal. appreciate your input

I’m having the same issue, I’ve refreshed the screen several times and its still not letting me pass.

The anchor text must be exactly "cat photos"
Include the “” and it will work buddy!

1 Like

hey guys can anyone tell me how can i pass this challange…
i m getting some trouble…

1 Like

Enter this code below the image tag:

View more Cat Photos

Nope still didn’t work.

… Figured it out (user spelling error ugh !)

Here is the correct answer friends. fill in the missing > on </a and </p because the comment won’t allow the snippet to be fully correct or returns “Cat Photos” with the link in comments which is no bueno.

Here's a <a href= 'website name' (hit return to move a line down) cat photos </a has cat photos </p

Nothing actually…I rfeset my code…

Here’s the correct syntactical statement:

Here's a cat photos for you to follow.

2 Likes

8 Likes

Try This one it will work
"cat photos".