Last active
January 7, 2018 15:27
-
-
Save MirzaChilman/54c860588f494674631c67286abd817b to your computer and use it in GitHub Desktop.
prompt()
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> | |
<title></title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
var depan = prompt("Nama depan :"); | |
document.write("First name : " + depan + "<br/>"); | |
var number = prompt("Nomor :") | |
document.write("Number : " + number); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment