Answer:
The correct option is Option B
Explanation:
We need to find examples of client-side code.
Client Side code: The part of code, that doesn't require server for performing specific task
SO, The correct option is Option B
Prompt for special characters in user name
Reason: We can use alert to generate prompt using JavaScript or through validation and it can be done on client side.
All other options, we need to hit the server to perform the task, So they are not client-side code.