Tell us what’s happening:
Could you help me with this? What’s wrong with my code? Thanks
Your code so far
<header>
<h1>CatPhotoApp</h1>
main
<h2><p1>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p1>
<main>
<p2>Purr jump eat the grass rip the couch stratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</main></p2></h2>
</header>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/introduction-to-html5-elements/
Hello @joseangmir,
You do not need to create like <p1>
or <p2>
.
Just try to create
[Paragraph 1]
<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>
[Paragraph 2]
<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>
And you also have to wrap those two paragraphs into <main> </main>
tag. Good luck!
Thanks! It was simple but I was stuck with it. Thanks again.
you are mixed up with heading and paragraph.
heading can be from h1 to h6,
therefore you can write
<h1></h1>
<h2></h2>
<h6></h6>
There is no heading in paragraph so you cannot write the way you wrote for heading tag
paragraph tag is always
something
<main>
<header>
<h1> CatPhotoApp </h1>
</header>
<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>
<h2>Some more Cats</h2>
<p>
Purr jump eat the grass rip the couch stratched sunbathe, shed everywhere
rip the couch sleep in the sink fluffy fur catnip scratched.
</p>
</main>
1 Like