Learn HTML by Building a Cat Photo App - Step 12

What am I doing wrong ???

  **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="https://freecatphotoapp.com">cat photos</a>.</p>
    
    <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 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0

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

Link to the challenge:
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-12`Preformatted text`

Hey!

You have an extra > after the text more which is causing this issue. Remove that and it should work.

Hope this helps! :smile:

so it should B like this `

<p>Click here to view more<a href="https://freecatphotoapp.com">cat photos</a>.</p> 

:confused:

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

Now you’re missing a space between more and cat. just add one space after more and it should work!

<p>Click here to view more ><a href="https://freecatphotoapp.com> cat photos</a>.</p> 

Now you have multiple mistakes in your code.

  1. Remove the > that’s after more
  2. you forgot to add a " after the attribute which is causing another issue.
  3. remove the space from before cat.

You need to make sure your text is exactly this and cat photos is a link to another website.

Click here to view more cat photos.

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