click and keydown event handlers

now to make then call a function…