Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
Please help me I don’t know what’s wrong
It says in hint " The link’s href value should be https://freecatphotoapp.com . You have either omitted the href value or have a typo."
Your code so far

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <main>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a href="cat photos"></a>.</p>
      <a href="https://freecatphotoapp.com">cat photos</a>
      <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/105.0.0.0 Safari/537.36

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

Link to the challenge:

happy to help.
Let’s work together okay?
I see you added this anchor tag.
Before we fix it, can you find another anchor tag in the code that you posted above?
Then I want you to compare the other one to this one here.
What are the differences?

2 Likes

Hello sir Thank you for your concern I make it like this <a href="cat photos"></a> without the bracket but it’s still not working sorry for inconvenience

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 (').

1 Like

That’s a bit better but as you noted, not all correct yet.
If i search your code I can find an anchor tag that works fine (but from an earlier step).
It is this one
<a href="https://freecatphotoapp.com">cat photos</a>

Try to look again. What is the difference between your new line of code and this old one?

1 Like

Sorry Sir I tried my best but I can’t seem to find the difference the only difference for me is what’s inside this “” and there is link’s text

yes! The difference is actually 2 things (you got 1 of two so let’s work with that).
The href is supposed to be the website address, not “cat photos”
So can you fix it?

1 Like

HAHA :sweat_smile: :laughing: :laughing: THANK YOU SIR it worked I couldn’t have done this without you Im REALLY GRATEFUL SIR HAVE A NICE DAY :laughing: :laughing: :laughing: :laughing:

1 Like

I need some help please been stuck on this for hours.

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.