Can someone tell me what i am doing

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>
</main>
<p2>Kitty Ipsum text</p2>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 OPR/73.0.3856.344 (Edition utorrent).

Challenge: Introduction to HTML5 Elements

Link to the challenge:

1 Like

@adityasharawat First you have added <p2> which is wrong. FCC asked you to you add second paragraph,but<p> tag will remain p.It will not include any number.and the text you should add in p tag is given by FCC test.

@adityasharawat The second error is that you have to put the </main> tag at the end of both paragraphs.

There is no such thing as <p2> simply use <p> for all the paragraphs

for example:

<p>Lorem ipsum dolor sit amet</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>

And also, don’t forget to nest the two p element in the main attribute

They have asked you to just add another p element.
Each time you add a paragraph element you just have to put<p>.
You don’t have to put p2 because there is no such thing as p2
and both of the p element should be inside the main tag.

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