Type out your code. For example:
alert("You are running the " + navigator.appName + " browser.").
Video of the Day
Click "File," "Save" and the "Save As" dialog box is displayed.
Type "myfile.js" and click the "Save" button. Now you have created a .js file. By adding,