Tech Mahindra interview question

how to make a click event without using javascript or jquery?