-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
113 lines (109 loc) · 3.53 KB
/
index.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
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./app.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap" rel="stylesheet">
<script src="./app.js" defer></script>
<title>Movie Theater Equations</title>
<link rel="icon" type="image/x-icon" href="./img/favicon.ico">
<!-- Theory icons created by Freepik - Flaticon -->
<!-- https://www.flaticon.com/free-icons/theory -->
</head>
<body>
<header>
</header>
<main>
<div id="flex_container">
<h1>Movie Theater Equations</h1>
<table>
<thead>
<tr>
<td>
<figure>
<img src="./img/big-hero-6.jpg" id="img_bg6" alt="Big Hero 6">
<figcaption>
Ticket Price:
<br>
3 <span id="red">red</span> tokens
<br>
2 <span id="blue">blue</span> tokens
</figcaption>
</figure>
</td>
<td>
<figure>
<img src="./img/inside-out.jpg" id = "img_io" alt="Inside Out">
<figcaption>
Ticket Price:
<br>
2 <span id="red">red</span> tokens
<br>
3 <span id="blue">blue</span> tokens
</figcaption>
</figure>
</td>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>
Click on the button below to purchase a ticket for Big Hero 6!
</p>
<input type="button" id="button_bg6" value="Big Hero 6">
</td>
<td>
<p>
Click on the button below to purchase a ticket for Inside Out!
</p>
<input type="button" id="button_io" value="Inside Out">
</td>
</tr>
<tr>
<td>
<div>
<p>
Number of tickets sold for Big Hero 6:
<br>
<span class="counter" id="tix_bg6"> </span>
</p>
<p>
Total revenue ($) for Big Hero 6:
<br>
<span class="counter" id="rev_bg6"> </span>
</p>
</div>
</td>
<td>
<div>
<p>
Number of tickets sold for Inside Out:
<br>
<span class="counter" id="tix_io"> </span>
</p>
<p>
Total revenue ($) for Inside Out:
<br>
<span class="counter" id="rev_io"> </span>
</p>
</div>
</td>
</tr>
</tbody>
</table>
<div>
<input type="button" id="button_rev" value="Click to show revenues">
<input type="button" id="button_reset" value="Reset">
</div>
</div>
</main>
<footer>
<hr>
© <i>Theodore Nguyen, 2023</i>
</footer>
</body>
</html>