Learn HTML by Building a Cat Photo App - Step 14

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>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
   <a herf="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
  </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

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

Link to the challenge:

Hi, please, next time when you post your question, provide it with a question.
Asking a better question will help you understand your current situation.

you got a typo

sorry was new didn’t knew how to proceed my code is showing this issue “Your anchor (a ) element should link to https://freecatphotoapp.com . You have either omitted the URL or have a typo.”

what problem you are trying to solve now? have you found your last issue?

the link in the code dosen’t seem to work its show that i might i have omitted or typo mistake but the code i matched is right could you plz once check my code if any problem with same

edit your post into your latest code. I don’t know what issue you are facing since the last issue only a type on href

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <main>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
<a herf="https://freecatphotoapp.com"> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
    </main>
  </body>
</html>

this is my current code

<a herf="https://freecatphotoapp.com"> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

I saw you change nothing.

There is still a typo on your herf replace it with href

I’ve edited your post 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 (').

@RaghavGarg Used my mod powers to format the code and given an explanation how to format code for future. Happy coding. :smiley:

2 Likes

Thank you Ella for the help!

2 Likes

thankyou so much for guidance

1 Like

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