Tech Mahindra Interview Question

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