Events

I have a small knowledge of coding, but am trying to add some more interesting user interactions on my website.

I am successfully adding the code to do what I want, but I keep getting the alert that “Parameter ‘event’ is not used.” I am not sure how to fix this and all the Googling has still not brought me an answer!

This code is based off of Wix sample code from the call out and highlight.

Thank you for any help!

Hi Emily,

The warning message you are seeing is quite common. There is no reason to worry about it. Your code should work fine anyhow.

As the message says, you aren’t using the “event” parameter. So if you want the warning to go away, you can delete the word “event” that is underlined in yellow. Again, the code will also work if you leave the parameter in and just ignore the warning.

If you need the “event” parameter at a later time, you can always add it back in.