How to set space between to p tag

I have a question about step 41 in CAFE MENU. I should set any space between two p elements IN this step, But I can’t set it. Please guide me.

Hi @Molhem !

Welcome to the forum!

Can you paste the link so we can see the challenge you are working on?

I found the challenge you are working on.
In the future, please provide the challenge link.
That would help us out :grinning:

Here is your task
move the price p element to be on the same line and make sure there is no space between them.

They want you to edit the html portion they gave you which is this

   <p class="flavor">French Vanilla</p>
   <p class="price">3.00</p>

They are currently on seperate lines.
Move the bottom <p> tag right next to the top one and the test will pass.

Move this

 <p class="price">3.00</p>


   <p class="flavor">French Vanilla</p> move here and make sure there are no spaces

Dear Jwilkons.oboe
Thanks for your attention. This is the link below that I challenge.
Step 41 Part of Caper Cafee
I try to set p elements beside each other with various width properties but the system gives a flowing error

Your p elements should not have any space between them.

I change width but I can pass this step

Dear jwilkins
many thanks. yes, I know what they want but I try to change various widths that give errors. I don’t where is the problem.

You are not supposed to change the widths.
That is why you are not passing.

You are misunderstanding the directions.

Here are the directions again
You could keep trying various percentages for the widths. Instead, simply move the price p element to be on the same line and make sure there is no space between them.

The directions say you could adjust the widths but don’t do that because you should edit the html instead.
That is where the confusion is.
You keep adjusting the width but you are not supposed to
You are don’t need to touch the css at all in this lesson.

Please reset it and only edit the html like I showed you and the test will pass.

Hope that is clear.

Dear jwilkins.oboe
many thanks for your help. that’s worked. exactly, I misunderstood I should move p elemnet. really many thanks
best wishes

1 Like