JS
JavaScript Validation API
If an input field contains invalid data, display a message: