Introduction to HTML5 Elements just need little help

Tell us what’s happening:

im new to this a little and im not real sure i understand this lesson. thanks

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>kitty ipsum text

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0.

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

Hi @MrNiceCoder

Hope you are fine. Don’t worry, it can seems to be difficult at the beginnings)

Here is the task:

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.

I suggest you to follow the following instructions to complete the lesson:

  1. Reset you code
  2. Add to the end of your code opening and closing p tag.
    <p> ... </p>
  3. Copy the text from the task an put it inside the <p> ... </p> tags.
  4. Than you have to wrap both paragraphs by main tag. It looks like this:
    <main> ... </main>

P.S. wrap just means that now your two paragraphs should be inside the <main> ... </main> tags

Let me know if this helps you and if not, don’t hesitate to ask for a help.

thank you so much let see if i can get it going. =)

k it tells me i need one main element but i have main at i front of both paragraphs and another main at the end just like you show

You want to have a main opening tag before your first paragraph and then close that main after the second paragraph.

@MrNiceCoder the structure should be like below:

<main>

<p> .... </p>

<p> .... </p>

</main>

its simple and straight forward. Get hint and watch video

k i solved it thank u everyone also i had step out for a bit so sorry didnt reply instent