Is there a way to keep the third column in place when the second column is hidden upon clicking a button? Take a look at my code snippet below:
<div class="row">
<div class="col-3">
Column 1
</div>
<div class="col-3 test">
Column 2
</div>
<div class="col-3">
Column 3
</div>
</div>
<button id="btn">
Hide column 3
</button>
$('#btn').click(function(){
$('.test').hide();
});