$w(’ #button64 ‘).onClick(event,$w)=>{
you missed the arcs ‘(’ after onClick, you need to be more careful.
it should be done like this: $w(’ #button64 ').onClick((event,$w)=>{
also don’t forget it to close it ‘)’ at the end of the code.
the other things, try your codes step by step and make it bigger.
before writing the whole code, try to make simple actions to be sure that you start right.
try the button to print a word > console.log(‘pressed!’)
finally what do you mean by this ?
total = ‘amount’