This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.



Smartphone icons created by Freepik - Flaticon

JS Validation

Name:
function validateForm() {
  let x = document.forms["myForm"]["fname"].value;
  if (x == "") {
    alert("Name must be filled out");
    return false;
  }
}

Although the form works it is only used to demonstrate JavaScript validation capabilities. If nothing is entered, an alert pops up to let you know you MUST enter something before the form may be submitted.