-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpractice-lec2.html
50 lines (31 loc) · 1.07 KB
/
practice-lec2.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!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>Document</title>
</head>
<body>
<script>
// var, let declare variable and assign name ;
// write any name of variable a,b,c... before write var or let keyword value of variable change
// const value cannot be change once defined
// console. log For any developer, console. log() is one of the most well-known javascript functions since it allows us to quickly check for errors in our code in some circumstances. If you're unfamiliar with it, it's a tool that Javascript developers use to debug their code.
// testing purpose.
// Data Types in Javascript
// int+float= Numbers
// string+char=string
// Boolean
// Cases Uses IN javascript
// 1. Pascal case
//2. Camel Case
var a=7,b=5;
const c=9 , f=10 ,j=11;
console.log(" a = " +b);
// console.log(" b = " -a);
console.log(" c = " +a);
console.log("f= " + c );
</script>
</body>
</html>