I am trying to follow along the tutorial from the wiki, but something isn't working

I am currently just starting out on making a datapack, and I am following the tuorial from the wiki: https://datapack.wiki/guide/getting-started

I am using fabric 1.21.8 version I was able to get the first function to work (/function example:hello_world) but I can't get the looping functions to work. (both say Hi, and the arrow stuck in the ground)

Need someone to tell me where I messed up. I'm not sure how to share my code though.

Continue to help post