Cannot make p tag of class "price" inline to class flavor

.item p { display: inline-block; } .flavor { text-align: left; width: 49%; } .price { text-align: right; width: 49%; }

French Vanilla



@EssaAshraf0800 welcome, post your code here in editor using </> button

how should i paste my exact code is there any other option

or if you understand the task then you can try to guide me

when you click reply then the editor appears for typing, there you see </> button, then paste your code between three backtics they will already writen for you

.item p {
  display: inline-block;

.flavor {
  text-align: left;
  width: 49%;

.price {
  text-align: right;
  width: 49%;
<article class="item">
            <p class="flavor">French Vanilla</p>
            <p class="price">3.00</p>

the price of the coffee should be inline with name of the coffee check from the previous link.

move the p tag for price on the same line as of p for flavor. there should not space between them

another way for posting your code is to click the ask for help button from instructions when your test fail then this button will appear.

wait can’t you reply it in code

yes I can but I wanted you to do it yourself. <p class="flavor">French Vanilla</p><p class="price">3.00</p>

1 Like

wait it did work finally so foolishly i was understanding!!! thanks man I was thinking something else my choice was to make CSS to do it but gladly you interpreted the task pretty well my friend thank you!

:rofl: You welcome dear, cheers

Where is from Essa Ashraf? if you don’t mind

I am from middle east and you?

I am from Pakistan, I guessed from your name you must be from middle east, hope to help each other in this journey

Wow I am also from Pakistan but I am talking from middle east, what’s up brother?

:grinning: that’s great brother, nothing special, I am CS graduate living in sindh, trying to practice programming to get software development job, what about you? which country in middle east, are you working there? which job ?

I am in Saudi Arabia, Jeddah, wow I wish success in your path and hope that you will get a good job, No I am not a job person I am a candidate of IGCSE and I am on A levels and applying for this certification to get on freelancing.

best of luck brother as you are already in saudi arabia, I hope you will get job there even before finishing fcc curriculum, I wish I could find job in middle east