How i caan write the p1 and p2 tags like the one in your helping video

Tell us what’s happening:
Describe your issue in detail here.
how i can write the p1 and p2 tags like the one in your helping video

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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Challenge: Introduction to HTML5 Elements

Link to the challenge:

HI @zubairafridi !

Welcome to the forum!

The problem is here

That is not the correct syntax.
Please look at the example they gave you to fix the problem then the test will pass.

Hope that helps!

i wanted to say that how i can “indemp” both P tags in the main tag

You should use the forward-slash (/) before the tag name.
Like this

You can right click and then choose format document to indent your code

thank you so much Jwilkins

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