Introduction to JavaScript
JavaScript, a high level single threaded garbage collected intrepreted or just in time compliled prototyped based multiparadigm weakly dynamic typed programming language with a non blocking event loop, famous for building websites. It was created by Brendan Eich in 1995 in just one week to add scripting functionalities to the netscape browser.
JavaScript is used for many things. Here, you will use JavaScript for 2 reasons:
- Scripting (same as we did with Python)
- Web front-end
For the moment, and for learning all basic concepts of this language, we will do some scripting. After, we will make our AirBnB project dynamic by using Javascript and JQuery.
- Writting Javascript code
- Variables
- Datatypes
- Operators
- Operator precedence
- Controlling program flow
- Functions
- Objects and arrays
- Intrinsic objects
- Module patterns
- var, let, const
- Javascript tutorial
- Modern JS
- 100 secods of JS
At the end of this project, you are expected to be able to explain to anyone the following Without the help of Google
- Why JavaScript programming is amazing
- How to run a JavaScript script
- How to create variables and constants
- What are differences between
var,constandlet - What are all the data types available in JavaScript
- How to use the
if,if ... elsestatements - How to use comments
- How to affect values to variables
- How to use while and
forloops - How to use
breakandcontinuestatements - What is a function and how do you use functions
- What does a function that does not use any
returnstatement return - Scope of variables
- What are the arithmetic operators and how to use them
- How to manipulate dictionary
- How to import a file
$ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
$ sudo apt-get install -y nodejs
$ sudo npm install semistandard --global

