Learn HTML by Building a Cat Photo App - Step 12

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 cat photos.</p>
    <a href="https://freecatphotoapp.com">cat photos</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/103.0.5060.134 Safari/537.36

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

Link to the challenge:

Hi I keep getting this message.
Your anchor (a ) element should be nested within the p element.

Yeah I did that and I’m still not right

Your anchor element is below your p element, not inside of it.

Can you maybe give me a sample

I will not write the answer for you, that is against the rules.

This step wants you to replace the phrase ‘cat photos’ in the p element with the entire a element on the second line. The phrase ‘cat photos’ should only appear once.

1 Like

I see it has plenty controversy this Step 12 , I’m also stack :sweat_smile:

cat photos

When you click the link goes as tellsm, to “freecatphotoapp.com” but doesn’t continue XD,
Can some one, please tell me what is wrong with it?
Lots of thanx in advance :blush:

Your anchor (a) element should be inside (nested within) your p element not outside or below the p element cos the “cat photo” in your a element need to replace with the one in the p element, do this and it will solved I had similar issue

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