-
-
Save DavidPeralvarez/aeec8922b270b60a938311ce6672e14a to your computer and use it in GitHub Desktop.
JavaScript - Cajas de diálogo
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> | |
<meta charset="utf-8"> | |
<title>Curso de Javascript</title> | |
</head> | |
<body> | |
<script src="scripts.js"></script> | |
</body> | |
</html> |
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
// alert( 'Cadena de texto' ); | |
// var salirPagina = confirm( '¿Estás seguro de que quieres abandonar esta página?' ); | |
// console.log( salirPagina ); | |
var respuesta = prompt( '¿Cuánto suman 1 + 1' ); | |
console.log( respuesta ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment