Having difficulty completing assignment

Tell us what’s happening:
I am having problems understanding, Basic HTML and HTML5: Introduction to HTML5 Elements

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>
<h1>Hello Children</h1> 
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink flurry catnip scratched.</p> 
<main>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fun catnip scratched.</p>
<main>


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36.

Challenge: Introduction to HTML5 Elements

Link to the challenge:

There are a couple of things with your code.

  1. there should only be one main. <main>....</main>.
  2. you don’t have a closing tag for <main>

You technically don’t need the following in your code, but you should be able to pass with it still included.

<h1>Hello Children</h1> 
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink flurry catnip scratched.</p>
1 Like