Tech Mahindra interview question

Write a client side code in JQuery