Skip to content

Commit bcbc1c6

Browse files
committed
linked added
1 parent 2600d2b commit bcbc1c6

File tree

1 file changed

+40
-4
lines changed

1 file changed

+40
-4
lines changed

readMe.md

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@
2525
19. [Regular Expressions](#regular-expressions)
2626
20. [Local Storage](#local-storage)
2727
21. [Cookies](#cookies)
28+
22. [JavaScript Tests](https://github.com/Asabeneh/JavaScript-for-Everyone/wiki/JavaScript-Tests):
29+
23. [JavaScript Interview Questions](#javascript-interview-questions)
2830

29-
## Introduction
3031

31-
Welcome to JavaScript. **_Congratulations_** for deciding to learn JavaScript.
32-
**_JavaScript for Everone_** is a guide for both beginner and advanced JavaScript developers.
32+
## Introduction
33+
**_JavaScript for Everone_** is a guide for both beginner and advanced JavaScript developers. Welcome to JavaScript. **_Congratulations_** for deciding to learn JavaScript.
3334

34-
In this step by step tutorial, I will teach you JavaScript, the most popular programming language in the history of mankind.
35+
In this step by step tutorial, you will learn JavaScript, the most popular programming language in the history of mankind.
3536
You use JavaScript **_to add interactivity to websites, to develop mobile apps, desktop applications, games_** and nowadays JavaScript can be used for **_machine learning_** and **_AI_**.
3637
**_JavaScript (JS)_** has increased in popularity in recent years and has been the leading
3738
programming language for four consecutive years and is the most used programming language on
@@ -101,6 +102,39 @@ Internal script can be written in the _head_ or the _body_ but it is preferrable
101102
## Variables
102103
Variables are _containers_ of data. Variables _store_ data in a memory location. When a variable is declared a memory location is reserved and when it is assigned to a value, the memory space will be filled. To declare a variable we use, _var_, _let_ or _const_ key word. For a variable which changes at different time we use _let_ but if the data doesn't change at all we use _const_. For example PI, country name, gravity.
103104
105+
Valid variables in JavaScript:
106+
```js
107+
firstName
108+
lastName
109+
country
110+
city
111+
capitalCity
112+
age
113+
isMarried
114+
115+
first_name
116+
last_name
117+
is_marreid
118+
capital_city
119+
120+
num1
121+
num_1
122+
_num_1
123+
$num1
124+
year2019
125+
year_2019
126+
```
127+
128+
Camel case or the first way of declaring is conventional in JavaScript.
129+
130+
Invalid variable:
131+
```js
132+
first-name
133+
1_num
134+
num_#_1
135+
```
136+
137+
104138
```js
105139
// Declaring different variables of different data types
106140
let firstName = "Asabeneh"; // first name of a person
@@ -2112,6 +2146,8 @@ localStorage.clear();
21122146
## Exercises:Local Storage
21132147
21142148
## Cookies
2149+
## [JavaScript Tests](https://github.com/Asabeneh/JavaScript-for-Everyone/wiki/JavaScript-Tests)
2150+
## JavaScript Interview Questions
21152151
21162152
#### Exercises:Cookies
21172153

0 commit comments

Comments
 (0)