TASK 3 – FORM VALIDATION (CLIENT + SERVER)

- Client-side validation using JavaScript for instant feedback
- Server-side validation for security and data integrity
- Errors returned as JSON and displayed per field
- AJAX submission (no page reload)
- Clean separation of frontend and backend logic

Key interview line:
'I implemented both client-side and server-side validation to ensure better UX and secure data handling.'
