Tell us what’s happening:
Your code so far
<h2>CatPhotoApp</h2>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<main>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere
rip the couch sleep in the sink fluffy fur catnip scratched</p>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/introduction-to-html5-elements
Hi,
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
This paragraph should also be inside the <main> ... </main> tags.
Pretty much like the other paragraph.
An element A is nested inside another element B if A is between the opening and the closing tags of B.
Multiple children elements can be nested inside a single parent element like this:
<parentElement>
<child1/>
<child2>some random text</child2>
</parentElement>
*Some elements can have a self closing tag (like I put the child1. E.g. images: <img ...attributes.../>), some don’t (like child2. E.g. paragraphs: <p>paragraph text</p>)
1 Like
This is the structure you should follow:
<main>
<p> ... </p>
<p> ... </p>
</main>
1 Like
I do what is explained but I still have X
תודה
Many thanks for the help