CSS CSS Flexbox Layout Flexbox Properties Wrapping Items and Distributing Space

I dont know the answers

Help me

style.css
/* Complete the challenge by writing CSS below */
.row{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-around;

}
index.html
<!DOCTYPE html>
<html>
<head>
  <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">
</head>
<body>
  <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>
  </div>
</body>
</html>

1 Answer

James Ackerman
James Ackerman
13,599 Points

You're really close. You need to use the 'space-between' value instead of 'space-around' like this...

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}