質問編集履歴
1
HTML の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -14,6 +14,31 @@
|
|
14
14
|
|
15
15
|
### 該当のソースコード
|
16
16
|
|
17
|
+
```HTML
|
18
|
+
<!DOCTYPE html>
|
19
|
+
<html lang="ja">
|
20
|
+
|
21
|
+
<head>
|
22
|
+
<meta charset="UTF-8">
|
23
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
24
|
+
<title>後出しじゃんけんゲーム</title>
|
25
|
+
<link rel="stylesheet" href="copy.css">
|
26
|
+
</head>
|
27
|
+
|
28
|
+
<body>
|
29
|
+
<h1 id="title">後出しじゃんけんゲーム!</h1>
|
30
|
+
<button id="start-button">スタート</button>
|
31
|
+
<h1 id="signal-text"></h1>
|
32
|
+
<div id="signal-image"></div>
|
33
|
+
<div id="judgment-area" class="judgment"></div>
|
34
|
+
<h2 id="score-area" class="score"></h2>
|
35
|
+
<div id="janken-area"></div>
|
36
|
+
<script src="copy.js"></script>
|
37
|
+
</body>
|
38
|
+
|
39
|
+
</html>
|
40
|
+
```
|
41
|
+
|
17
42
|
```JavaScript
|
18
43
|
'use strci';
|
19
44
|
const title = document.getElementById('title');
|