Object of your affection

Having a hard time figuring out the foreach loop in the project, any help would be much appreciated!

Hello, @css5025086985.

Welcome to the forum.

If you can post what you have so far, we can take a look. When including your code in a post, be sure to click the </> button first, and then paste your code in the space indicated. See this post for more details: How do I format code in my posts?