Created
October 6, 2018 12:25
-
-
Save Alpa84/32c23318929156ee8eae02c64a00efb3 to your computer and use it in GitHub Desktop.
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<script> | |
var nombre = prompt('cual es tu nombre') | |
var apodo = prompt('cual es tu apodo?') | |
alert('te dicen ' + apodo + 'pero te llamás ' + nombre) | |
// var estadoCivil = prompt('sos soltero o casado?') | |
// if (estadoCivil == 'soltero') { | |
// alert('peinate') | |
// } else if (estadoCivil == 'casado') { | |
// alert('tomate el palo ' + nombre) | |
// } | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment