How to create an On-Click event that shows a text box?

Hi guys, new to Corvid here. I’m following the video “How to Add Custom Interactions with JavaScript | Corvid by Wix” to create an on-click event that shows a text box after clicking a button. But I couldn’t find the “show” function as indicated in the video (see attached screencap).


Could I get any advice from you guys? Cheers

line 14 starts with //
which makes anything written in that line as “commented text”, and not actual code.
thus, the template for “show” doesn’t appear on the menu.
taking your code one line down will get you going.
see it also on the video you referred to-

Thanks mate! It works! Cheers