<div class="container">
<div class="row card-deck">
<% for(var i=0;i<campgrounds.length;i++){ %>
<div class="card col-12 col-md-4">
<img class="card-image-top" src="<%= campgrounds[i].image %>" style=width:100%;height:350px;>
<div class="card-body">
<h3 class="card-title"><%= campgrounds[i].name %></h3>
</div>
</div>
<% }%>
</div>
</div>
My dictionary array "campgrounds" contains 6 items with properties such as "name" and image. I am using the col-md-4 class to display 3 items in a row for medium-sized screens and above. However, all 12 items are being displayed in a single row on larger screens. What could be causing this issue?