teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

コード張らせていただきました。

2021/03/04 08:44

投稿

renjmtw
renjmtw

スコア0

title CHANGED
File without changes
body CHANGED
@@ -1,4 +1,58 @@
1
- vscodeでJavaScriptのコードを書いています。
1
+ ```<!doctype html>
2
+ <html class="no-js" lang="">
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <title></title>
7
+ <meta name="description" content="">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+
10
+ <meta property="og:title" content="">
11
+ <meta property="og:type" content="">
12
+ <meta property="og:url" content="">
13
+ <meta property="og:image" content="">
14
+
15
+ <link rel="manifest" href="site.webmanifest">
16
+ <link rel="apple-touch-icon" href="icon.png">
17
+ <!-- Place favicon.ico in the root directory -->
18
+
19
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
20
+
21
+ <meta name="theme-color" content="#fafafa">
22
+ </head>
23
+
24
+ <body>
25
+ <div class="container">
26
+
27
+
28
+ <div class="mt-1 alert alert-primary" role="alert">
29
+ A simple primary alert—check it out!
30
+ </div>
31
+ <div class="d-flex justify-content-center">
32
+ <button type="button" class="btn btn-primary">Primary</button>
33
+ <button type="button" class="ms-1 btn btn-primary">Primary</button>
34
+ <button type="button" class="ms-1 btn btn-primary">Primary</button>
35
+ <button type="button" class="ms-1 btn btn-primary">Primary</button>
36
+ </div>
37
+
38
+ </div>
39
+ <script src="app.js"></script>
40
+ </body>
41
+
42
+ </html>
43
+
44
+ const question = 'ゲーム市場、最も売れたゲーム機は次のうちどれ?';
45
+ const answers =[
46
+ 'スーパーファミコン',
47
+ 'プレイステーション',
48
+ 'ニンテンドースイッチ',
49
+ 'ニンテンドーDS'
50
+ ];
51
+ const correct = 'ニンテンドーDS';
52
+
53
+ document.getElementsByTagName('div');
54
+
55
+ ```vscodeでJavaScriptのコードを書いています。
2
56
  Google Chromeでコンソールを開こうとするとcors policyによってブロックされているとのエラーが出て来ます。
3
57
  勉強中で質問の仕方すら上手く出来なくてすみません。。
4
58
  わかる方いましたらご教授お願いいたします。