Skip to content

Commit f5429ff

Browse files
committedJun 23, 2020
update
1 parent 2608f30 commit f5429ff

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
 

‎Lesson_93/index.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html >
3+
<head>
4+
<title>Coder Shiyar</title>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
8+
</head>
9+
<body>
10+
11+
12+
<script src="script.js"> </script>
13+
</body>
14+
</html>

‎Lesson_93/script.js

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Coder Shiyar - https://youtube.com/codershiyar
2+
// -----------------------------------------------------------------------------
3+
// JSON JavaScript Object Notation
4+
// يتم استخدام جي سون لتبادل البيانات بين المتصفح والخادم
5+
// جي سون خفيف الوزن اثناء تبادل بيانات
6+
7+
var json = {"name":"Coder Shiyar" ,
8+
"age": 20,
9+
"skilles":["HTML","CSS"],
10+
"data":{name:"shiyar" , password:"1234"}
11+
12+
};
13+
14+
console.log(json.data.password);
15+
16+
17+
18+
19+
20+
// JSON Values
21+
// In JSON, values must be one of the following data types:
22+
23+
// a string
24+
// a number
25+
// an object (JSON object)
26+
// an array
27+
// a boolean
28+
// null
29+
// In JavaScript values can be all of the above, plus any other valid JavaScript expression, including:
30+
31+
// a function
32+
// a date
33+
// undefined

0 commit comments

Comments
 (0)
Failed to load comments.