How do I nest <p> element in <main> element?

I nested the

element into the element, but when I run the tests it says “ The main
element should have two paragraph elements as children.” what am I doing wrong?

  **Your code so far**

<h2>CatPhotoApp</h2>

<p>Kitty ipsum dolor</p>

<main>
<p>purr jump eat</p>
</main> 
  **Your browser information:**

User Agent is: Mozilla/5.0 (iPad; CPU OS 14_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/97.0.4692.84 Mobile/15E148 Safari/604.1

Challenge: Introduction to HTML5 Elements

Link to the challenge:

The sample in the lesson shows a main element with two child elements nested inside.

The code you’re showing has a p element and then a main element with one p element nested.
Do you see the difference?

Thanks, I thought I only had to nest that one p element.

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