Problem with the link in my coding

I ran into a problem in step 12 of the HTML-CSS. I followed instruction and created a link. It seemed to work when i clicked on the link, but not sure why it didn’t pass. Here is my code

     <p><a href="https://freecatphotoapp.com">cat photos.</a></p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

when I clicked on the link cat photos it seemed to work, but i don’t know why i received an error on this.
//
Hints: The link’s text should be cat photos. You have either omitted the text or have a typo.
// I don’t know what did i do wrong. Just can’t figure it out.

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

I would suggest reseting the lesson.

You are not supposed to have 2 links on the page.

This is incorrect

You should only have one link on the page.

Here is the starting code the lesson gave you

 <p>See more cat photos in our gallery.</p>
 <a href="https://freecatphotoapp.com">link to cat pictures</a>

The words cat photos here needs to be a link

The final result should display this on the screen.

Screen Shot 2023-01-26 at 7.29.49 PM

1 Like

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