Created
February 22, 2015 16:09
-
-
Save jamc92/700fc156b607313d766f to your computer and use it in GitHub Desktop.
JS - Hello World
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>Hola mundo de Javascript</title> | |
</head> | |
<body> | |
<script> | |
//Alerta en una ventana emergente | |
alert(document.title); | |
//Escribir directamente en el documento principal | |
document.write("Jaja"); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment