0 / 60 seg.

Which of the following options is the correct way to validate that the text field with ID nombre (name) is not empty?

<input type="text" id="nombre" name="nombre" />
if (_____) {
  alert("The field cannot be empty");
}