Learn HTML by Building a Cat Photo App - Step 11

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

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36 Edg/106.0.1370.52

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

Link to the challenge:

why is this answer incorrect?
<a href="https://www.freecodecamp.org">click here to link to cat pictures </a>

You should only have the sentence once. Reread the question. The anchor should surround “cat photos”.

href=“https://www.freecodecamp.org”>click here to go to <a link to cat pictures
is this also incorrect?

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

This looks almost perfect except that you have used the wrong text. Reread the exercise as the correct text is mentioned there. Also check your hints.

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