Last active
November 20, 2020 10:57
-
-
Save nickheal/44b9f178d3211dcb2d462b7666c1419f to your computer and use it in GitHub Desktop.
Concise code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function submitForm(name, telephone, email) { | |
if (!name || !telephone) { | |
showAlert(); | |
return; | |
} | |
postForm(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment