Question 48Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)What is the main purpose of client-side scripting in JavaScript?
- ATo execute code on the server
- BTo store data on the server
- CTo run code on the user's web browser
- DTo interact with the database directly
Show answerHide answer
Correct answer: (C) To run code on the user's web browser
Explanation
Client-side JavaScript runs inside the user's web browser, where it handles events, checks forms and updates the page without going to the server.