What am i doing wrong? step 12 cat

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

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos<a h ref=https://freecatphotoapp.com.</p>
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
  **Your browser information:**

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

Challenge: Step 12

Link to the challenge:

In this step they have asked you to turn ‘cat photos’ part into a link.

To do that you have to wrap that part inside a link. A link tag is usually like this:
<a href="example.com">a nested link</a>.
You can nest it inside a paragraph like this:
<p>This paragraph has <a href="example.com">a nested link</a></p>

So the correct answer is this: <p>Click here to view more <a href="https://freecatphotoapp.com">cat photos</a>.

What you are doing wrong are:

  1. There is a gap between href syntax.
  2. The link (https://freecatphotoapp.com) should be wrapped with double/single(" " / ’ ') quotes.
  3. There is no closing a tag.
  4. Remove the link written after p tag.
1 Like

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