-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlecture9.html
More file actions
44 lines (39 loc) · 1.63 KB
/
Copy pathlecture9.html
File metadata and controls
44 lines (39 loc) · 1.63 KB
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
<!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 9 | String in JS | Ways to create string | String interpolation |</title>
</head>
<body>
*****************************Tutorial Start 🔥 ********************************
<!-- TOPIC 1: WHAT IS STRING -->
<h1>1. What is String?</h1>
<p>The string object is used to represent and manipulate a sequence of characters.</p>
<p>string aik type hai yaa aik object hai jiski help se hum log seqence of character wale
jitni bhi values ho sakti hai, jitna data ho sakta hai, usko store kar sakte hai.
</p>
<p>Example:
<li>"a"</li>
<li>"abc"</li>
<li>"abcdefgh"</li></p>
<!-- 1.JAVASCRIPT CODE USED HERE -->
<!--TOPIC 2: How to create the String-->
<h1>2. How to creating a string</h1>
<p>Method are: </p>
<li>Using Literal</li>
<!-- 2.JAVASCRIPT CODE USED HERE -->
<li>using String() constructor</li>
<!-- 3.JAVASCRIPT CODE USED HERE -->
<!--TOPIC 3: Different ways of creating string like '', "", `` -->
<h1>Different ways of creating string like '', "", ``</h1>
<!-- 4.JAVASCRIPT CODE USED HERE -->
<!--TOPIC 4: Interpolation -->
<h1>String Interpolation Example</h1>
<!-- 5.JAVASCRIPT CODE USED HERE -->
<!-- external javscript file -->
<script src="lecture9.js"></script>
*****************************Tutorial End 🚀 ********************************
</body>
</html>