I am trying to make a simple text a on-click event that will send a user to my Disclaimer page. I have tried to do this a dozen different ways (other than a button as i just want text) and i can not seem to get this to work. I not much of a coder but i thought i could handle this simple task. Can anyone tell me what i am doing wrong. I have checked this in preview, published, and different browsers.
// For full API documentation, including code examples, visit Velo API Reference - Wix.com
import wixLocation from ‘wix-location’;
$w.onReady( function () {
});
export function Disclaimer_click(event) {
wixLocation.to(“/Disclaimer”);
}