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>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
 
 
<p>Click here to view more cat photos.<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

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

Link to the challenge:

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

I am having issues in the
After nesting the anchor (a ) element, the only p element content visible in the browser should be Click here to view more cat photos. Double check the text, spacing, or punctuation of both the p and nested anchor element.

After nesting the anchor (a ) element, the only p element content visible in the browser should be Click here to view more cat photos. Double check the text, spacing, or punctuation of both the p and nested anchor element.

look at the preview pane to see how your code looks.
Does it look like this?

Click here to view more cat photos. cat photos

But they want this instead

Click here to view more cat photos.

So change your code accordingly.

1 Like

I can read the instructions. I am not sure about what words or phrases in the instructions are confusing you?

no
I am trying to do the code in so many ways. lol

let us know if you have a question about anchors etc.

How many times are the words ‘cat photos’ on this line?

They must only be there once but I see them twice.

<p><a hreff="Click here to view more cat photos.><a href="https://freecatphotoapp.com">cat photos</a></p>
I am confuse where is anchors etc.

This is not valid syntax. I’d go back to the code you had before.

This was close but needed two words removed.

This pair is the anchor element.

as Jeremy mentioned, you don’t need to add another ‘cat photos’

You just need to make the original one into a link.

I wrote this post also about how to make links, see if it helps

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