Use the flex-direction Property to Make a Row

Tell us what’s happening:

use flex direction property to make a row

Your code so far


<style>
  #box-container {
    display: flex;
    height: 500px;
    flex_direction: row_reverse:
  }
  #box-1 {
    background-color: dodgerblue;
    width: 50%;
    height: 50%;
  }

  #box-2 {
    background-color: orangered;
    width: 50%;
    height: 50%;
  }
</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 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/css-flexbox/use-the-flex-direction-property-to-make-a-row

Be careful with names, the property name you’ve written (row_reverse) is incorrect.

1 Like

flex-direction is different than flex_direction
same goes for row_reverse