Wix code doesn't work

I want to change text of a text box on click.

using the following code:

export function text6_onClick(event) {
$w(“#text6”).text = “Success”;
};

but when I click on the text box nothing happens. The placeholder text remains unchanged.
Please help

Hi Narottam,

You have a semi-colon after the closing brace of the function. If you remove that, the text element’s text should change upon clicking.