Help with main and 2 paragraphs

Help with main and 2 paragraphs
0.0 0

#1

Tell us what’s happening:

I’m getting lost with the whole main tagging thing, and it wants me to only use 1 main but yet 2 paragraphs, no idea what it wants

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>
<main>
    <p>Purr jump eat the grass rip the couch scratched sunbathe,</main>
    
         <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; rv:60.0) Gecko/20100101 Firefox/60.0.

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


#2

ok, let’s take it step by step. Here are the instructions:

Create a second p element after the existing p element with the following kitty ipsum text: Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

Wrap the paragraphs with an opening and closing main tag.

Step one: create a second <p></p> paragraph. Cut and paste the text they want exactly in between the two tags.
Step two: add <main> before the first <p> and then add </main> after the second <p>

What you should learn after doing this:

  • you can create many paragraphs in your html
  • you should only use the main tag once to enclose the main part of what your site is about. (the main content)

hope this helps!


#3

ahh ok thank you, i thought the was only supposed to be place on the 2nd

coding not the first and 2nd thank you.


#4

No problem. Don’t forget to mark the solution response in order to let everyone know what worked for you (if my answer gave you the solution, pls mark it ).