I AM STILL TRYING TO FIND A CONSOLE! I will still give tutorials though...
#1: console.log("Hello world!") - That is a command that will log to the console
#2: alert("BACON is yummy") - Will make a small pop-up window that says "BACON is yummy"
#3: prompt("Do you like waffles") - Will ask if you like waffles with an open-ended response
#2: alert("BACON is yummy") - Will make a small pop-up window that says "BACON is yummy"
#3: prompt("Do you like waffles") - Will ask if you like waffles with an open-ended response
make a file
ReplyDeletetype this text into the script section of an html document:
console.log(testing testing testing)
save as testing.htm
open the file and see what happens
This comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by the author.
DeleteYou can save a file that is Javascript by embedding it into a blank HTML file.
ReplyDeleteAnd can't you just use a VBS/HTM file instead of batch/js?
ReplyDeleteGood to know... Thanks
ReplyDeleteWell just for the record BATCH and VBS are different... so there is your answer.
ReplyDelete