The main element should have two paragraph element as children

The main element should have two paragraph element as children
0

I think i get why so many people seem to have trouble with this exercise. The video is misleading, both p elements needs to be nested inside the main element (he also forgets to close the p tag).

The indentation he shows can be achieved by selecting the p elements and pressing tab, however, i would suggest manually indenting them by putting the cursor in front of the elements and using two spaces.

2 Likes

any solution, i am stuck there too

Hey my friend I stucked as well, but as I wrote below, it may be helpful

<main> should be statedbefore first <p> 

in the end put </main> after secont </p>

1 Like

<main>

<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>

I have been working on this one for a good fifteen minutes. I think I got it right, And on the left side under the “Run the test” button. It keeps saying “The main element should have two paragraph elements as children.” What does mean?

Please Help Me!

Sorry I just solve it myself.

1 Like

i still facing problem help me

@jnayak38, add another <p></p> within the <main></main>

I cannot find the solution to ‘The main element should have two paragraphs as children’ for task 8.

What’s your current code?
Do you have two opening and closing <p></p> (two pairs)?

Hi

Yoelvis was true. if you chack that tex-indent. You will find that you have to copy and paste twice one line
:slight_smile:

I think the video of this task is confusing.
He put opening main tag before the second paragraph(the new one in the task) but the task says to wrap both paragraphs not just the new one.
“Wrap the paragraphs with an opening an closing main tag.”
I passed this task with this solution:

1 Like

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.

Thank you for understanding.

i am so stuck on this too, seemed easy up til now. i just dont have a clue…can you help?

You need to share the code that you’ve written in order for us to help you fix it.

I would suggest checking out the new version of this challenge on the beta site.

Both the text and video has been updated. After that try and complete the challenge on the current site version (so it gets saved to your current curriculum progress).

how did you solve it?

If you have questions about a challenge you can use the Ask for help button so that a thread will be created that includes your code and you can ask questions and people will be able to help based on your code and questions

Thank you so much i was stuck on that

how did you solve it…can you specify for others to know

the “you need to share your code for others to be able to help you” is valid also for you :wink: