-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuestion23.html
More file actions
52 lines (42 loc) · 1.46 KB
/
Question23.html
File metadata and controls
52 lines (42 loc) · 1.46 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
45
46
47
48
49
50
51
52
<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>Question 23</title>
</head>
<body>
<script>
var tea = 'cold';
console.log("Is tea == 'cold'? I predict True.");
console.log(tea == 'cold');
var tea = 'hot';
console.log("Is tea == 'hot'? I predict True.");
console.log(tea == 'hot');
var car = 'Tesla';
console.log("Is car == 'tesla'? I predict True.");
console.log(car == 'Tesla');
var car = 'Honda';
console.log("Is car == 'Honda'? I predict True.");
console.log(car == 'Honda');
var car = 'Toyota';
console.log("Is car == 'Toyota'? I predict True.");
console.log(car == 'Toyota');
var tea = 'cold';
console.log("Is tea == 'cold'? I predict False.");
console.log(tea == 'olc');
var tea = 'hot';
console.log("Is tea == 'hot'? I predict False.");
console.log(tea == 'ho');
var car = 'Civic';
console.log("Is car == 'Civic'? I predict False.");
console.log(car == 'Tesla');
var car = '';
console.log("Is car == 'Honda'? I predict False.");
console.log(car == 'Honda');
var car = 'toyota';
console.log("Is car == 'Toyota'? I predict False.");
console.log(car == 'Toyota');
</script>
</body>
</html>