Use the flex-basis Property to Set the Initial Size of an Item

Use the flex-basis Property to Set the Initial Size of an Item
0

#1

Tell us what’s happening:
how to add flex-basis value 10em at #box-1

Your code so far


<style>
  #box-container {
    display: flex;
    height: 500px;
  }
  
  #box-1 {
    background-color: dodgerblue;
    height: 200px;
    flex-basis: property;
    flex-basis: 10em;
  }
  
  #box-2 {
    background-color: orangered;
    height: 200px;
    flex-basis: property;
    flex-basis: 20em;
  }
</style>
  
<div id="box-container">
  <div id="box-1"></div>
  <div id="box-2"></div>
</div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/css-flexbox/use-the-flex-basis-property-to-set-the-initial-size-of-an-item


#2

You have done it correctly, now you just need to remove this -> flex-basis: property; from the CSS.