Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>https://freecatphotoapp.com <a href https://freecatphotoapp.com> cat photos</a> </p>
    
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 OPR/90.0.4480.54

Challenge: Learn HTML by Building a Cat Photo App - Step 12

Link to the challenge:

Hello there.

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

it says that, You can see the words cat photos underlined next to the image in the preview now. That’s your link; feel free to give it a click. In the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com . When you are done, remove the old anchor tag and text below the paragraph.so please help

Okay so It seems that you are using wrong syntax (the way you’re supposed to write them) for HTML attributes in your code.
the syntax is

//  attribute  value
//       |      |
<button class="btn"> my button </button>

in your code, you’re missing the "" which is causing the error.

2 Likes

Hi, I’m having trouble with this step.
It says to remove the old anchor tag and text from below the paragraph, but when you delete it, it says code failed. What are they meaning by remove the old anchor tag and text below the paragraph, if they don’t want you to delete it?

Click here to view more cat photos.

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

The link works, but it keeps saying that there should be only one anchor tag, but there is only one anchor tag…? I’m so confused.

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

I like the way you illustrated that with the fancy editing!

1 Like

The link’s href value should be https://freecatphotoapp.com . You have either omitted the href value or have a typo.
it keep showing me this, i dont know what ive missed

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.