-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmemory.html
More file actions
43 lines (36 loc) · 1.83 KB
/
Copy pathmemory.html
File metadata and controls
43 lines (36 loc) · 1.83 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Memory Lane</title>
<link rel="stylesheet" href="memory.css">
<script src="memory.js"></script>
<link rel="icon" href="icon.jpg" type="image/jpg">
</head>
<body>
<button id="endButton" class="top-left-button">End</button>
<button id="restartButton" class="top-left-button">Restart</button>
<div class="game-container" id="gameContainer">
<div id="player" class="player"></div>
<div id="memory1" class="memory" data-prompt="What makes you smile?"></div>
<div id="memory2" class="memory" data-prompt="What's a happy childhood memory?"></div>
<div id="memory3" class="memory" data-prompt="What's a song that makes you happy?"></div>
<div id="memory4" class="memory" data-prompt="Who is your role model?"></div>
<div id="memory5" class="memory" data-prompt="What's your favorite family tradition?"></div>
</div>
<div class="prompt" id="prompt">Move to a memory to interact</div>
<div class="memory-input" id="memoryInput" style="display: none;">
<div class="memory-card">
<h2>Memory Prompt</h2>
<p id="memoryQuestion"></p>
<textarea id="userResponse" rows="4" cols="50" placeholder="Type your response here..."></textarea>
<div class="file-upload">
<button class="file-upload-btn" id="customFileBtn">Choose File</button>
<input type="file" id="mediaUpload" accept="image/*" />
</div>
<button id="submitResponse" class="submit">Submit</button>
</div>
</div>
<div id="tooltip" style="display: none; position: absolute; background: rgba(0, 0, 0, 0.7); color: white; padding: 10px; border-radius: 5px;"></div>
</body>
</html>