Input Validation Test with doc.output.innerHTML conditional statement