
haroun egal
1,053 Pointshow to place first and last items along the edges and if space-between is correct
how to place first and last items along the edges and if space-between is correct
/* Complete the challenge by writing CSS below */
.row{
display:flex;
flex-wrap:wrap;
justify-content:space-between;
}
<!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

Steven Parker
204,855 PointsThis code seems correct. If it doesn't pass the challenge, try restarting your browser and try again.