After retrieving data from a table in my database, I am displaying it on the screen as cards. However, the issue is that all the cards are displaying on the left side of the screen in a single column, rather than appearing in rows of 3 as desired.
Below is my current code:
I attempted to utilize card-deck
to arrange the cards in rows of 3, but this caused the data on the cards to be repeated. How can I prevent the data from being duplicated while displaying the cards in rows of 3?