@dainis-locans Oh I see the problem now, in line 10 you have $w defined to get the button element so in line 11 no need for the $w you can write it this way $w(‘#button1’).onClick((event) .
Best
Massa
@dainis-locans Oh I see the problem now, in line 10 you have $w defined to get the button element so in line 11 no need for the $w you can write it this way $w(‘#button1’).onClick((event) .
Best
Massa