开始main标签应该在第一个段落标签之前。

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<main>
<h1>hello world</h1>
 <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>
 <p>hjgdsjgtsambvdfjzasvdfjh</p>
 </main>
  **Your browser information:**

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

Challenge: Introduction to HTML5 Elements

Link to the challenge:

Hi @72hou and welcome to the forum!!!
Put the main opening tag after h1 element and you’ll pass the test. :wave:

solution redacted by mod

@72hou you were tasked with creating a second p element and then creating a main element that nests only the two p elements.

The error message is telling you that you’ve incorrectly nested more than just the two p elements.

While it will not cause the test to fail this time you should always follow instructions. You were given the text to place in the second p element.

@HawksSpawn It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

You can post solutions that invite discussion (like asking how the solution works, or asking about certain parts of the solution). But please don’t just post your solution for the sake of sharing it.
If you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

@Roma I’ve marked the code with the Blur Spoiler option, but, ok, sorry… I’ll keep that in mind for the next few times.

The spoiler tags are recommended when one has a question about their own code and are posting a solution. It is not meant as a way to provide others with solutions.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.