Could you help me out

Could you help me out
0

#1

Tell us what’s happening:

Your code so far


<html>
    
<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>

<p>
     purr jump eat the rass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched
 </p>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6.

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


#2

how I can wrap this up


#3

add, a <main> before the first <p>

then add a </main> after the final closing </p>


#4

You need add main tag before first paragraph?

<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 rass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched
 </p>
</main>

#5

thank you sir but its still showing p element closing tag missing


#6

Try out code

<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>

#7

thanks dear , could you tell me how I can close the p elements tag


#8

Yes, close the tag with </p>

<p>Paragraph, close is--> </p>

Understand? :slightly_smiling_face:


#9

no sir . could you explain me here please

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff


#10

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


#12

Tell us what’s happening:

Your code so far


<html>

<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 rass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched</p>
 </main>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6.

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


#13

Although html tags are not case-sensitive like the values of html element attributes such as id and class, the FCC tests are not expecting you to use capital letters for the opening or closing tags. Currently in your latest posted code, you have a capitalized closing tag which should be lowercase.


#14

Do not include <html> </html> tags. Instructions doesn’t mention this. Also, lowercase your all html tags. Your tests will pass with rest of the code you have!


#15

What are you talking about?


#16

I’m suggesting to omit the opening and closing <html></html> tags, the tests will then pass.


#17

Sorry! I wrote <html> </html> without backticks and it disappeared upon posting… I fixed it now. I’m new to this forum. Thanks for letting me know!


#18

Exactly which opening and closing tags would you omit? My last post explained to the OP what to do to resolve the issue. The tests are not treating the closing p tag as case-insensitive, which is a small bug.


#19

Sorry, a paragraph is a simple HTML tag as you are learning. And the format of a paragraph tag is <p> and the closing is</p>
Just like the other tags you’ll learn in the HTML structure.


#20

You have added a second paragraph but that is only half of the requirements.
“Wrap the paragraphs with an opening and closing main tag.”


#21

When I first looked at this thread I didn’t see any replies - wonder how that got by me.
As someone else said you don’t want to add the “html” opening and closing tag.