Have the commands but not the datapack

So Im new to datapacks, rn im doing complex commands for a custom map for me and my friend but i've try and do datapack though when i do tick.json and load.json and to then do commands that i would like to run it doesn't work. (here are some picture of the map i'm working on)
Continue to help post