We create a query using html jQuery this that selects the heading DOM element. Next we send effect to get a JQEffect instance. Then finally we send JQEffect>>highlight which highlites the background color.

Altering the highlight color is left as an exercise for the reader.

Now for something a little more fun - let’s add some help test that appears when you click on the heading; and it won’t just "appear", it will slide open at a rate that we determine.

We do this by rendering a new <div> element that contains the help text, and changing the onClick of the header to apply our new cool effect to the new element. We also need some new CSS to help us out with this.