Reading_Notes

View the Project on GitHub Hiba-Almade/Reading_Notes

Java Script

js icon

What is the **Java Script ?**

JavaScript is a text-based programming language used both on the client-side and server-side that allows you to make web pages interactive. Where HTML and CSS are languages that give structure and style to web pages, JavaScript gives web pages interactive elements that engage a user. JavaScript adds behavior to web pages. —

To start learning JavaScript you should take a look at some of the basics:

Java Script Variable:

Variable means anything that can vary. JavaScript includes variables which hold the data value and it can be changed anytime.

JavaScript uses reserved keyword var to declare a variable. A variable must have a unique name. You can assign a value to a variable using equal to (=) operator when you declare it or before using it.

js var


Java Script Operator:

An operator performs some operation on single or multiple operands (data value) and produces a result. js opr

## Java Script Conditional:

Conditional statements control behavior in JavaScript and determine whether or not pieces of code can run. There are multiple different types of conditionals in JavaScript including: “If” statements: where if a condition is true it is used to specify execution for a block of code. js con

additional information: