CSS and HTML Menu bar for cafe

How to fix this problem , cannot figure out not in an order as you can see
No description
No description
6 Replies
Wonderbear
Wonderbear2mo ago
You want the price to appear on the same horizontal line as the product name? In your case, an html table may fit your needs Otherwise use flex
Ragnar
Ragnar2mo ago
Yes on the same horizontal line, how to
Wonderbear
Wonderbear2mo ago
I gave 2 options To make it more clear: If your list can be considered as tabular data, you should use an html table
Ragnar
Ragnar2mo ago
Ok I will try thanks for help
Wonderbear
Wonderbear2mo ago
MDN Web Docs
: The Table element - HTML: HyperText Markup Language | MDN
The HTML element represents tabular data—that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.
Ragnar
Ragnar2mo ago
I got it brother using flex box, justify-content: space between;