Tell us what’s happening:
I cant solve this
1 Your code should have one main element
2. The main element should have two paragraph elements as children.
3.The opening main tag should come before the first paragraph tag.
4. The closing main tag should come after the second closing paragraph tag.
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>
<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>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/introduction-to-html5-elements
You have to use a main tag(<main>)…
You haven’t used it in your code
sir I have a problem in the second paragraph
Hey @taloloy18 I have tried the challenge again myself and it works.
Here, follow these steps:
- Reset all code.
- Make a min tag and make sure you have both <p> tags within the main tag
<main>
<p></p>
<p></p>
</main>
- Then change the content of the text inside the <p> tags with the content given in the instructions.
Hope this helps out
1 Like
I Get it. Thank you!! I already completed it.
If it helped you with the solution, you can mark it as a solution so that it can help others as well
Tell us what’s happening:*
To finish up I’m requested not to change the order of h1 h2 or p in my code.
I can’t go on further from here.
Your code so far
<!--h1>Hello World</h1-->
<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-->
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 7.0; P8M Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.83 Mobile Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/comment-out-html/