Idk /function isn't working

the tutorial I'm following says that i can run a function by doing /function : but if i try to input the name the syntax is wrong, all i can do is put two spaces and then "with". btw I'm in 1.21

Continue to help post