Let’s try displaying the duration with flex.
Make the block with class container a flex container.
Allocate free space among all flex items.
The first should be given only 1 unit, the second twice as much, the third 6
Elements must be vertically aligned with the baseline

This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task


<!DOCTYPE html>
      .container {
        height: 200px;
        font-weight: bold;
        font-style: italic;
        font-size: 20px;
        font-family: Tahoma;
      .item {
        background-color: rgb(255, 198, 0);
        padding: 40px;
        margin: 0 20px;
  <div class="container">
    <div class="item">1 Month</div>
    <div class="item">2 Months</div>
    <div class="item">6 Months</div>