Learn HTML by Building a Cat Photo App - Step 15

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 <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
    <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
  </main><section element></a>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15

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

Link to the challenge:

hello, welcome to the forum.
Did you have a question for us?

Yes I have a problem, I can’t get past step 15

do you see how the code has an html element right now? (<html>)
and all the code between <body> and </body> is nested inside the html element?

Also do you see how we have some lines of code nested inside the <body> element?
(that is the code is written between the opening tag of <body> and the closing tag of </body>)

So nesting is putting something inside or between two things.

Another example is the <main> element. There are some lines of code between the main opening tag and the main closing tag.

This exercise wants you to add a section element to the code. A section element has an opening tag just like all the examples I just talked about (html and body and main)
The opening tag for the section element is <section>
the closing tag for the section element is </section>

You must add the opening tag above the main element.
And add the closing tag below the main element.
This will enclose the main element inside your new section element.
(or wrap it inside or nest it inside, these are all different ways of saying the same thing).

Hope this helps.

1 Like

yes i have problem at step 12

Please create your own topic when you have specific questions about your own challenge code. Only respond to another thread when you want to provide help to the original poster of the other thread or have follow up questions concerning other replies given to the original poster.

The easiest way to create a topic for help with your own solution is to click the Ask for Help button located on each challenge. This will automatically import your code in a readable format and pull in the challenge url while still allowing you to ask any question about the challenge or your code.

Thank you.

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