Example

Checking if an input is empty with JavaScript

Checking if an input is empty with JavaScript validate the input field in form submit /

You can't leave this empty.

HTML Example

CSS Example

Javascript Example