-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (44 loc) · 1.46 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
<!--
Copyright (c) 2023 David Such
This software is released under the MIT License.
https://opensource.org/licenses/MIT
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CodeName</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1><pre>
_________ .___ _______
\_ ___ \ ____ __| _/____ \ \ _____ _____ ____
/ \ \/ / _ \ / __ |/ __ \ / | \\__ \ / \_/ __ \
\ \___( <_> ) /_/ \ ___// | \/ __ \| Y Y \ ___/
\______ /\____/\____ |\___ >____|__ (____ /__|_| /\___ >
\/ \/ \/ \/ \/ \/ \/
</pre></h1>
<h2>Guess the Programming Language</h2>
<div id="puzzle">
<p id="clue"></p>
<p id="attempts"></p>
<p id="incorrect-guesses"></p>
<p id="result"></p>
<input type="text" id="guess" placeholder="Enter your guess">
<button onclick="checkGuess()">Submit</button>
<button id="help">Help</button>
<p>Number of Visitors: <span id="visitorCount">0</span></p>
</div>
<!-- Modal -->
<div id="modal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<h3>CodeName - Help</h3>
<iframe id="helpContent" frameborder="0"></iframe>
</div>
</div>
<script src="script.js"></script>
</body>
</html>