Tell us what’s happening:
What am i doing wrong? lol
Your code so far
<h2>CatPhotoApp</h2>
<section>
<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>
</section>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.
I’m failing at these.
Your code should have one main element.
The main element should have two paragraph elements as children.
The opening main tag should come before the first paragraph tag.
The closing main tag should come after the second closing paragraph tag.
<h2>CatPhotoApp</h2>
<section><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</p></section>
<main>
<h2>CatPhotoApp</h2>
<section>
<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>
</section>
</main>
LOL. I thought the tag was referencing other html tags like section and header. So i took it as “main” means these kinds of HTML tags such as section, header… etc… I totally misunderstood the sentence. I should’ve know that the “main” is an actual tag of itself lol. Thank you for your help.
Whenever you want to post code on forum use three backticks and then your code followed by three backticks again.
You can also use the preformattted text button.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.
Note: Backticks are not single quotes.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.