質問編集履歴

1

コード改変

2019/04/30 08:13

投稿

hoge_nakatani
hoge_nakatani

スコア63

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  at main.js:1
4
4
 
5
- というエラーがでます。これはなぜでしょうか?jqueryとつながりません。
5
+ jqueryとつながりません。なぜでしょうか?
6
6
 
7
7
 
8
8
 
@@ -23,6 +23,8 @@
23
23
  <title></title>
24
24
 
25
25
  <link rel="stylesheet" href="main.css">
26
+
27
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
26
28
 
27
29
  </head>
28
30
 
@@ -72,17 +74,13 @@
72
74
 
73
75
  $(function(){
74
76
 
75
- //
77
+
76
78
 
77
79
  var duration = 300;
78
80
 
79
81
 
80
82
 
81
- // buttons1 ----------------------------------------
82
-
83
- // buttons1 1行目
84
-
85
- $('#btn_box button')
83
+ $('button')
86
84
 
87
85
  .on('mouseover', function() {
88
86
 
@@ -110,6 +108,4 @@
110
108
 
111
109
 
112
110
 
113
-
114
-
115
111
  });