-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathplay.html
More file actions
106 lines (96 loc) · 3.03 KB
/
play.html
File metadata and controls
106 lines (96 loc) · 3.03 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- Tell browsers not to scale the viewport automatically -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Simon</title>
<link rel="icon" href="favicon.ico" />
</head>
<body>
<!-- Use header, main, and footer elements to give semantic structure -->
<header>
<h1>Simon<sup>®</sup></h1>
<!-- Navigation elements -->
<nav>
<!-- Menu is a semantic alternative to <ul> that represents an interaction -->
<menu>
<li><a href="index.html">Home</a></li>
<li><a href="play.html">Play</a></li>
<li><a href="scores.html">Scores</a></li>
<li><a href="about.html">About</a></li>
</menu>
</nav>
<!-- Since we don't have the ability to style we use old style HTML to give some visual formatting -->
<hr />
</header>
<main>
<div class="players">
Player:
<span class="player-name">Mystery player</span>
</div>
<ul class="notification">
<li class="player-name">Tim started a new game</li>
<li class="player-name">Ada started a new game</li>
<li class="player-name">Tim scored 337</li>
</ul>
<!-- More formatting with old style HTML -->
<br />
<div>
<label for="count">Score</label>
<input type="text" id="count" value="--" readonly />
</div>
<br />
<div>
<button>Reset</button>
</div>
<br />
<div>
<table>
<tr>
<td>
<button>
<svg aria-hidden="true" viewBox="0 0 100 100" height="100" width="100">
<!-- SVG
M move <to x,y>
Q quadratic curve <control point x,y> <to x,y>
-->
<path d="M 95,5 95,95 5,95 Q 5,5 95,5" fill="green" />
</svg>
</button>
</td>
<td>
<button>
<svg aria-hidden="true" viewBox="0 0 100 100" height="100" width="100">
<path d="M5,5 5,95 95,95 Q 95,5 5,5" fill="red" />
</svg>
</button>
</td>
</tr>
<tr>
<td>
<button>
<svg aria-hidden="true" viewBox="0 0 100 100" height="100" width="100">
<path d="M5,5 95,5 95,95 Q 5,95 5,5" fill="blue" />
</svg>
</button>
</td>
<td>
<button>
<svg aria-hidden="true" viewBox="0 0 100 100" height="100" width="100">
<path d="M95,5 5,5 5,95 Q 95,95 95,5" fill="yellow" />
</svg>
</button>
</td>
</tr>
</table>
</div>
</main>
<footer>
<hr />
<span class="text-reset">Author Name(s)</span>
<br />
<a href="https://github.com/webprogramming260/simon-html">GitHub</a>
</footer>
</body>
</html>