My datapack wont work

I think I messed up the format or something. I used to do datapacks but I completely forgot how to. Did I mess up the syntax possibly? Did I delete files that were neccessary?

Continue to help post