Adding a click event to a card component

Hi, Yes,. I’ve tried that. See source code. I want the a print message to show when the embedded card is clicked. But it’s not working