Cognizant Interview Question

Fix javascript bugs Diffrence id and class