JavaScript Tutorial for Beginners: Learn
JavaScript in 1 Hour
Programming with Mosh
In this 3-minute introduction , I 'm going to answer four
frequently asked questions about JavaScript. What is JavaScript,
what can you do with it, where does JavaScript code run and
what is the difference between JavaScript and ECMAScript. The
average salary of a JavaScript developer in the United States is
$ 72,000 a year. Every browser has a JavaScript engine and we
can easily write JavaScript code here without any additional
tools of course this is not how we build real-world applications
but this is just for a quick demo. In order to write javascript
code you need a code editor there are various code editors out
there including Visual Studio code or yes code sublime text
atom. Live server is a lightweight web server that we 're going
to use to serve our web application so install this then you will
have to restart Visual Studio code when you 're done go to the
Explorer tab right click index. html and select open with live
server. This will open up Chrome or your default browser and
point it to this address that's where web application is served
from now.
JavaScript is a statement a statement is a piece of code that
expresses an action to be carried out in this case we want to
log a message on the console. All statements in JavaScript
should be terminated by a semicolon. In JavaScript we can add
some description to our code and this description is ignored by
the JavaScript engine. In this lecture I 'm assuming that you
JavaScript in 1 Hour
Programming with Mosh
In this 3-minute introduction , I 'm going to answer four
frequently asked questions about JavaScript. What is JavaScript,
what can you do with it, where does JavaScript code run and
what is the difference between JavaScript and ECMAScript. The
average salary of a JavaScript developer in the United States is
$ 72,000 a year. Every browser has a JavaScript engine and we
can easily write JavaScript code here without any additional
tools of course this is not how we build real-world applications
but this is just for a quick demo. In order to write javascript
code you need a code editor there are various code editors out
there including Visual Studio code or yes code sublime text
atom. Live server is a lightweight web server that we 're going
to use to serve our web application so install this then you will
have to restart Visual Studio code when you 're done go to the
Explorer tab right click index. html and select open with live
server. This will open up Chrome or your default browser and
point it to this address that's where web application is served
from now.
JavaScript is a statement a statement is a piece of code that
expresses an action to be carried out in this case we want to
log a message on the console. All statements in JavaScript
should be terminated by a semicolon. In JavaScript we can add
some description to our code and this description is ignored by
the JavaScript engine. In this lecture I 'm assuming that you