Hide and Show Elements sample

It is tested with wix code Hide and Show Elements sample. How do I fix an error?

TypeError: $w(…).hide is not a function

https://jyry0037.wixsite.com/startuphrd

Hi,
In line17, what does $(bagColor)Selected refer to??

Hi,
This image was hidden when selecting an image.
business Select the image businessSelected when you click the image.

Hey,

It’s really hard to tell from the image, but it looks to me like you’re using the wrong type of string demarcation on lines 16-17. Seems like you’re using ’ instead of `.

Hi,
I want to see a #businessSelected image when I click on the business image.

I am testing with the existing sample code.
How do I change it?

Hi again,
Do you want to do something like this?
Changing result to selected selection, when selection clicks.

Hi,

Thanks for your help.

I want another hidden image to be displayed when clicking on the image.

Thank you so much for your help.