This will not work on the windows 8 internet.
Did you see the pop up that asked you what your name was and said hi name. Today I will teach you how to make it. It is just some beginner JavaScript with the prompt command and the alert command. You will want to do this with HTML unless you are using a JavaScript compiler. For HTML type<script>
var myName = prompt("Hi what is your name?")
alert("Hi " + name)
</script>
For just JavaScript take out the <script> and </script> . If you want to do this on your blog go to the HTML tab on the create a new post and type in what is above. Make sure you types in a space in the underlined section right here.
alert("Hi_" + name)
No comments:
Post a Comment