-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path49JsString.html
More file actions
30 lines (27 loc) · 989 Bytes
/
49JsString.html
File metadata and controls
30 lines (27 loc) · 989 Bytes
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
<!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>String</title>
</head>
<body>
<div class="container">
<h1>Web Development</h1>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ad aliquid, voluptatum quas magnam praesentium ab
blanditiis mollitia soluta dignissimos ullam similique eaque officia corporis? Nesciunt ipsum sit fugit ea,
iste vitae architecto totam illum, quidem voluptatibus culpa quos porro reiciendis.</p>
</div>
<script>
var string = "Chintan";
var name = "Patel";
var message = "Hello";
var temp = `${name} is a nice person `;
console.log(string + name + message);
console.log(temp);
var len = name.length;
console.log(`Length of name is ${len}`);
</script>
</body>
</html>