Learn HTML by Building a Cat Photo App - Step 12

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

It keeps telling me:

The link’s href value should be https://freecatphotoapp.com . You have either omitted the href value or have a typo.

What am I doing wrong?

The console seems to be displaying it correctly:

Any help is appreciated.

Thanks!!!

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos </h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

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

<!-- User Editable Region -->

      <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/116.0.0.0 Safari/537.36

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

Link to the challenge:

Hello!
Remove the / at the end of the anchor link. It is a known issue and remove the extra spaces around cat photos.

This is what it is asking me to do:

You have it correct, with the exception of the spaces and the system glitch of the / at the end of the link.

Great job! :slight_smile:

I just tried removing the /.

Still said it’s wrong:

Also please post your code instead of using screenshots

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

removed all of the / and spaces and still getting it wrong:

Removing the / from the anchor link worked:

Why did that fix the problem? In the preview the link worked perfectly.

Very frustrating.

Ok great. I will remember that in the future.

Glad to know that was not an error on my part because I thought I was doing something wrong.

Thank you for your help!!!

2 Likes

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