I am currently working with data from an API that I need to display in the format of cards, arranged side by side. To achieve this, I have been using an array and passing the data to components programmatically. You can see the output image and my code below.
My challenge lies in displaying two cards next to each other; right now they stack on top of one another instead.
You can access the code sandbox link here.
The current output I am receiving looks like this: https://i.sstatic.net/AYpnu.jpg
How can I modify the output so that the cards are displayed in a single row?