Raunak
July 6, 2022, 10:37am
1
Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<section>
<elementName>
<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>
</elementName>
</section>
</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.0.0 Safari/537.36
Challenge: Step 16
Link to the challenge:
First,
<elementName>
isn’t a valid html tag. It was just an example as to how html is structured.
You just need to add a new section element under the first. It needs to come after the end tag of the first section element.
Raunak
July 6, 2022, 10:42am
3
when i add section it says The second section
element should not be nested in the first section
element.
Okay show me your code please, that will make it easier to help.
This is how you format code to make it show up correctly in the forum.
But based on this error message, you have put one section inside the other instead of putting it underneath. This is what one element underneath another looks like. This uses p elements instead of a section element, but is the same principle.
<p>A paragraph</p>
<p>A paragraph under a paragraph</p>
Raunak
July 6, 2022, 10:55am
5
oh thank you so much lool dumb me i put it underneath the section instead of ending /section thank you soo much
system
Closed
January 4, 2023, 10:55pm
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.