Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Hello all, when submitting the code for step 12 I have received the following hint … " The link’s href value should be https://freecatphotoapp.com . You have either omitted the href value or have a typo."

However, I have reviewed the details many times and seem to be overlooking the error. Any help would be much appreciated.

Thank you in advance.
Your code so far

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

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

**Link to the challenge: **

Can you post the entire code? What you posted will pass the test so there could an issue in another area. You can use the format button that looks like </> and paste your code between the lines it gives you

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

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

Why did you change your code? The line you initially posted was correct, this new one is not

Ok thanks, I’m not sure I haven’t made any changes. I will am totally new to coding and just trying to understand the basics. I thank you for your patience with me.

I’ll keep working on it.

1 Like

If you use the first line you posted in the code then the challenge should pass. However, when you posted all the code that line was different from the first post you had. If you change it back then it should pass

1 Like

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