-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtml45.html
25 lines (25 loc) · 870 Bytes
/
html45.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
<!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>JavaScript| String and String Method</title>
</head>
<body>
<div class="container">
<h1>Heading</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Aut at ab nam sit facere tenetur blanditiis animi vel iusto minima rerum incidunt numquam aspernatur ea dolores, deserunt eveniet dignissimos obcaecati?</p>
</div>
<script>
var c = 'Lakshay';
console.log(c);
var temp = ` is a good human`;
console.log(c+temp);
var gg = `${c} is a good`
console.log(gg);
var len = c.length;
console.log(`This is the length of c var == ${len}`);
</script>
</body>
</html>