Making links out of nothing at all

When assigning a click action in jQuery it’s important to communicate that potential to your user. The CSS property cursor makes this a snap.

Here’s our boring old html element:

<div class="hey">
  I'm not boring!

We add a little CSS:

.hey { cursor: pointer }

And suddenly it looks suspiciously like a link. Add a hover state to complete the disguise.