JavaScript

Hello everyone! This is CoderNet bringing you my JavaScript tutorials. These will be getting harder and harder as they go down the line, as I am learning with you! Also note that this page has a CONSOLE for you to practice with! The console makes it easier for you guys to code. I do not know how to save a file that is using JavaScript, but I will post that as soon as I know.

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

7 comments:

  1. make a file
    type 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

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  3. You can save a file that is Javascript by embedding it into a blank HTML file.

    ReplyDelete
  4. And can't you just use a VBS/HTM file instead of batch/js?

    ReplyDelete
  5. Well just for the record BATCH and VBS are different... so there is your answer.

    ReplyDelete