Cognizant interview question

Fix javascript bugs Diffrence id and class