I\'m trying to write a query that would enable me to display only the first 5 items in an array using a ForEach loop.
Currently, my code looks like this: