How To Validate Input Field In Javascript W3schools