I need help on how to write the code

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>

<p1>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p1>


<p2>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p2>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0.

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

There are no such elements as p1 or p2. Paragraph elements are p elements. You only need to have a total of 2 of them in your solution. The first one was already given to you and so you just need one additional p element with the content specified by the instructions.

1 Like

Also, you need both paragraphs (<p> elements) to be nested inside a <main> element.

Example, using fake HTML elements, replace using the correct element names:

<mainElement>
  <paragraphElement></paragraphElement>
  <paragraphElement></paragraphElement>
</mainElement>
1 Like

Thank you very much. i am a new in this field. thanks for the help, i really appreciate