-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
JavaScript from Beginner to Professional
By :
In this chapter, we will be dealing with some essential building blocks of JavaScript: variables and operators. We will start with variables, what they are, and which different variable data types exist. We need these basic building blocks to store and work with variable values in our scripts, making them dynamic.
Once we've got the variables covered, we will be ready to deal with operators. Arithmetic, assignment, and conditional and logical operators will be discussed at this stage. We need operators to modify our variables or to tell us something about these variables. This way we can do basic calculations based on factors such as user input.
Along the way, we'll cover the following topics:
Note: exercise, project, and self-check quiz answers can be found in the Appendix.