how do i make a basic datapack with 1 function

pls help i don't know how to add 1 function
Continue to help post