.ent__food__image {
display: flex;
justify-content: end;
}
.bev__food__image {
display: flex;
justify-content: end;
}
.kids__food__image {
display: flex;
justify-content: end;
}
<main class="flex-container">
<!-- Entrees -->
<div class="ent ent--container">
<div class="ent__food__image">
<img src="/food images/nutburger.jpeg" alt="nutburger" />
</div>
<h3>Entrees</h3>
<div class="ent__item__1">
<h4>Millet Burger</h4>
<p>
Millet patty served on whole wheat bun, with sauce, onions, pickles, tomatoes, romaine and sprouts. <span>7.59</span>
</p>
</div>
<div class="ent__item__2">
<h4>Nutburger</h4>
<p>
Nutmeat patty served on a whole wheat bun with sauce, onions, pickles, tomatoes, romaine, and sprouts.
<span>7.59</span>
</p>
</div>
<div class="ent__item__3">
<h4>Vegan Burrito</h4>
<p>
Whole wheat tortilla with basmati rice, black or pinto beans, onions, tomatoes, hot sauce, sour cream, romaine and sprouts.
<span>6.99</span>
</p>
</div>
</div>
<!-- Beverages -->
<div class="bev bev--container">
<div class="bev__food__image">
<img src="/food images/strawberry-smoothie.jpg" alt="Strawberry Smoothie" />
</div>
<h3>Beverages</h3>
<div class="bev__item__1">
<h4>Lemonade</h4>
<p>Small - 3.49 Large - 3.79</p>
</div>
<div class="bev__item__2">
<h4>Pinapple</h4>
<p>Small - 3.49 Large - 3.79</p>
</div>
<div class="bev__item__3">
<h4>Strawberry Smoothie</h4>
<p>Small - 4.89 Large - 6.99</p>
</div>
<div class="bev__item__4">
<h4>Coffee</h4>
<p>1.79</p>
</div>
</div>
<!-- Kids Menu -->
<div class="kids kids--container">
<div class="kids__food__image">
<img src="/food images/grilled-cheese.jpg" alt="Grilled Cheese" />
</div>
<h3>
Kids Menu
<span class="kids__description">Includes mini cookie and juice box</span
>
</h3>
<div class="kids__item__1">
<h4>Grilled Cheese</h4>
<p>5.29</p>
</div>
<div class="kids__item__2">
<h4>Quesadilla</h4>
<p>5.29</p>
</div>
<div class="kids__item__3">
<h4>PGJ</h4>
<p>5.29</p>
</div>
<div class="kids__item__4">
<h4>Shake (Choco, van, straw)</h4>
<p>4.10</p>
</div>
</div>
</main>
Hello, I am studying flexbox and feeling uncertain about how to implement it effectively. Is there a way to arrange the text and images in a side-by-side layout similar to the image below? Alternatively, should I explore using grid to address this issue? I'm also unsure if my current HTML structure supports achieving this desired layout.