JavaScript has an easy to learn syntax. A syntax in programming is the certain way something is coded out, to a functional point. (Basically a way to write it out).
Every line in JavaScript will most likely have a SemiColon at the end of the line, otherwise, it would wouldn't run. Now say you are using curly brackets {} in your code, then you may not have to add the SemiColon.
A lot for scripts will have to use an Object. An object is something you pull out of an HTML file, or create in the JavaScript file. Like say in HTML, you have a <div>, and you want to edit it, you will have to create an object for it. Now we are only in the first chapter and we are only covering basic syntax, so we won't worry about that now.
Brackets are one of the most important things in JavaScript programming. Every time you need to start a block of code, you will type {, or [, or (, but to end it, you will type the corresponding bracket, like }, ] and ). The ], and ) brackets normally require a SemiColon. So make sure you don't forget!

YOU ARE READING
JavaScript for Newbies
Non-FictionThis is a step by step tutorial book on how to program in JavaScript. From beginner to Expert!