Dunno what MAIN here supposed to mean @ Introduction to HTML5 Elements

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>

main<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>
<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 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/introduction-to-html5-elements

literally the main tag. like the p tag, but with the word main instead of the p.

1 Like

i did it, still it wont make me proceed. what else i have to do

can you post your code again so i can see what you’re doing?

1 Like

what is main element talking about children?

do i have to literally type children? but is not working…thanks earlier, "main " issue was resolved…now i don’t understand this “as children” or “children” issue.

ok, take a deep breath.

do you see the list of checkmarks and the one x on the left side?

everything is checked except the one that says “the main element should have two children…”

if you look at your main and p tags, there are three paragraphs (these are children of main).

delete one of the paragraphs and you should be able to move forward!

1 Like

ah great. thanks so much!

If you want further clarification, a “child” element, or “children” elements, are just elements (elements are just different types of tags) that are within another set of tags. If you have:

<body>
  <div></div>
  <p></p>
</body>

Both the div and p tags are considered children of the body tag. if you want to learn more about this, just look up HTML DOM (which stands for Document Object Model)

1 Like