I am trying to learn from w3 and I found image grid galleries. I tried to make one with four columns, but my last column wraps underneath my first 3.
<div class="row">
            <div class="column">
                <img src="Pictars/bubbles.jpg">
                <img src="Pictars/Bicky.jpg">
            </div>
            <div class="column">
                <img src="Pictars/surfer2.jpg">
                <img src="Pictars/Pier.jpg">
            </div>
            <div class="column">
                <img src="Pictars/oranges.jpg">
            </div>
            <div class="column">
                <img src="Pictars/nightStation.jpg">
            </div>
        </div>
if I remove flex:wrap in my css row class it works! Why doesn't it display right with flex set to wrap?
.row{
    display: flex;
    /*flex-wrap: wrap;*/
    padding: 0 4px;
    justify-content: center;
}
.column{
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}
.column img{
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}
 
    