How do i get my datapack to work?

This is my first datapack and im struggling to get it into my world, anyone know how? heres the code:

Continue to help post