Sorry if this appears as a typo that I am struggling to identify. My browser (Chrome) is highlighting the following line
<a class="carousel-link" onclick="function(){jQuery('#coffee-modal').modal('show');}">Book a coffee</a>
and displaying
"Unexpected token ("
even though I cannot spot any parentheses mismatch. I am certain it pertains only to this specific line, as the error disappears once I delete it.