We are going to learn two ways to run our JavaScript code. The first one is by using the sublime text here, this text editor, we are going to run our JavaScript code. So I'm going to here create a simple code, which is console dot log. And this is just a function in JavaScript that logs or prints something on the console. Just here, you pass what you want to print. So here I'm going to say this is a test.
And I am going to add Of course, you need to add at the end semicolon and click on File and then save. Now you saved your file. The second thing that you need to do is to click on Tools and the inbuilt system and make sure that you have selected JavaScript Then you need to click on belt, or you need to click on command and B, or control and be in Windows, you will always find the shortcut, the shortcut for the build command here besides the word command, besides the word belt, so here it says Ctrl or Command and b in in iMac, and in Windows control, and B, so click on build. And as you can see, this is our console. And here it was printed. This is a test and now our JavaScript code runs successfully.