Trying to create an entrance questionnaire for my guitar lessons site by layering normal boxes with buttons and text using show() & hide() functions in velo. But the NeverPlayed click event seems to be malfunctioning without showing an error. Below is the code and the preview link for reference.
$w.onReady(function () {
$w('#box1').hide()
});
export function image3_click(event) {
// This is to keep the show box1 on clicking electric guitar's img:
$w('#box1').show();
}
export function NeverPlayed(event) {
// This function is to hide box1 on clicking neverplayed button and showing next question box with text
$w('#box1').hide()
$w('#box2').show()
$w('#text12').show()
}
export function few_months(event) {
// This function is to hide box1 on clicking few months button and showing next question box with text
$w('#box1').hide()
$w('#box3').show()
$w('#text13').show() }
Preview Link - https://shredbaseofficial.wixsite.com/my-site