CSS CSS Flexbox Layout Flexbox Properties Wrapping Items and Distributing Space

Reika Hirahara
Reika Hirahara
1,562 Points

property that creates a multi-line

i don't know why my code isn't correct...

/* Complete the challenge by writing CSS below */
    display: flex;
  flex-direction: column;
<!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>

2 Answers

Reika Hirahara
Reika Hirahara
1,562 Points

Hi Dale, your advice worked, thanks!