Yay! Success. Always feels good when something works!
For future reference when sharing code it’s best to paste your code in your post rather than screenshots. Screenshots can be hard to view on mobile devices. It’s also easier for someone to provide you with the proper code without having to retype it all.