I want to have only 6 items in one row, i don't want another 6 in next row. So the plan is to show 6 items in one row and button see more
or something that will take user to another page where all items will be displayed.
This is my code:
<div class="flex-div">
<c:forEach var="book" items="${bookList}">
<div><img src="Images/book${book.imageId}.png" alt="book"
height="190px" width="150px"/></div>
<div id="book-title">${book.title}</div>
<div id="book-price">${book.price}$</div>
</c:forEach>
</div>
and css:
.flex-div{
padding: 20px;
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
What should i do?