Introduction to HTML5 Elements i still don't know what im doing wrong

Introduction to HTML5 Elements i still don't know what im doing wrong
0.0 0

#1

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>

<main>**opening main tag**

<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>  **closing main tag**

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 OPR/52.0.2871.64.

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


#2

Did you include **opening main tag** and **closing main tag** in the code? If so, delete them.


#3

Have you tried to refresh your browser or reloading your browser?

If you included those comments in the code, then use a comment like this <!-- opening main tag --> instead of what you have. **opening main tag**. or keep your code more readable like this…

<h2>CatPhotoApp</h2>
  <main><!-- opening main tag -->
    <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>  <!-- closing main tag -->

The spacing or indents allows us to see what is nested in what element. It makes life easier for us who are noobs to programming, to see bugs in our code.

I hope that helps and happy coding!


#4

Remove the lines you added that start with **…tag** then retry.