-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlecture5.html
24 lines (22 loc) · 1.35 KB
/
lecture5.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lecture 5 | Javascript Variables Complete Explanation | let ,const,var | Naming Rule |</title>
</head>
<body>
<div>*****************************Tutorial Start 🔥 ********************************</div></br></br>
<h1>1. What is Variable? </h1>
<answer>Javascript variables are containers for storing the values.</answer></br>
<answer>A variable is a "named storage" for data.</answer></br>
<h1>1. How to create Variable </h1>
<answer>we create vraibles by three method:</answer></br>
<answer>let, (is a keyword, helps to create a variable. It is a normal variable, value are changeable.) </answer></br>
<answer>const (It is a constant variable, values are not changeable. One Value are fixed.)</answer></br>
<answer>var (It helps to create variable, it is changeable but var are using in traditional javascript(old js) but it is used in modern javascript also, so let and var are similar but some disadvantage of using var variable which is discuss in upcoming lecture.)</answer></br>
<script src="lecture5.js"></script>
<div>*****************************Tutorial End 🚀 ********************************</div>
</body>
</html>