Detect click with jQuery

I'm trying to use jQuery with Hype.
I've double clicked on my cat and inserted this code:
<a href="javascript:void()" data-action="open-sidebar" data-sidebar-id="sidebar-left" data-direction="left-to-right" style="width:100%;height:100%;position:absolute;display:block"></a>

After injecting jQuery.js file, I change the header of the HTML to add this:

	$('a[data-action="open-sidebar"]').click(function(e) {

But when I test if I get this error after a click on the CTA:
SyntaxError: Unexpected token ')'

Can you please support ?

It is likely the href="javascript:void()" part. You can likely change that to just href="#" .

If that doesn't work, can you share a document?