CSS CSS Flexbox Layout Flexbox Properties Wrapping Items and Distributing Space

first make .row a flex container.

/* Complete the challenge by writing CSS below 
.row { display: inline flex;}
<!DOCTYPE html>
  <title>Flexbox Layout</title>
  <link href='https://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" href="page.css">
  <link rel="stylesheet" href="style.css">
  <div class="row">
    <div class="item">Item 1</div>
    <div class="item">Item 2</div>
    <div class="item">Item 3</div>
    <div class="item">Item 4</div>
    <div class="item">Item 5</div>
    <div class="item">Item 6</div>

1 Answer

Gabriel Pierce-Lackey
Gabriel Pierce-Lackey
11,012 Points

You are very close, you don't need the inline to make a flex container

.row { display: flex;}