Console logging on click.