Learn HTML by Building a Cat Photo App - Step 12

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

It says to me that:

Hint

Your anchor (a) element should be nested within the p element.

what does this even mean? i have no idea! what does nested mean? i remember seeing on the previous steps about nesting is where you press space bar twice to move it across or something?

unfortunately this isnt very motivating, all it says is that… it doesnt give me a hint or a “this is what you should do” tip or something.

I have looked on google and found other forums posts here about step 12 (the one im stuck on) but the code on the page is massive and i am very new to HTML so im struggling to understand what any of this means.

I was trying to get help from a friend online who is a programmer but he isnt available currently.

I feel like giving up but honestly this would better my life and my mental health.

thank you for your help :slight_smile:

EDIT: When you are done, remove the old anchor tag and text below the paragraph.

Test

Sorry, your code does not pass. You’re getting there.

Hint

Your code should only contain one anchor (a) element. Remove any extra anchor elements. BUT THIS IS MY CODE:

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

My code should only contain one a element? well if you look at it, there is two letter P’s and ONE letter a, the a before the href.

what on earth does it mean? how am i supposed to get passed step 12?

  **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; rv:103.0) Gecko/20100101 Firefox/103.0

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

Link to the challenge:

if somebody like staff could acknowledge or respond to this post. that would be fantastic as i am stuck and very frustrated.

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