I need help arranging my divs in rows, with 3 divs in each row. Can someone assist me with this?
Here is the code I have written so far:
.container {
display: flex;
flex-wrap: wrap;
}
.item {
border: 2px solid black;
width: 100px;
height: 100px;
}
<div class="container">
<div class="item"> test </div>
<div class="item"> test </div>
<div class="item"> test </div>
<div class="item"> test </div>
<div class="item"> test </div>
<div class="item"> test </div>
</div>