Hey folks. I’ve been trying to solve this problem for a couple of days now but I cannot figure this out.

I’m using foreach loop and want to show all search term results but all it shows is the last result so the other cards with other results don’t even show up.

I’ve also tried it with for loop but I got the exact same result.

Ignore the search bar appearance. There are some other problems with it

Here is my pen https://codepen.io/dknvmlhok/pen/vWRpEq