-
카테고리
-
세부 분야
자격증 (디자인)
-
해결 여부
미해결
jquery err message
21.06.14 22:09 작성 조회수 139
1
Brackets 에서 jquery 실행시 동작은 잘되는데 오류메세지가 21개 발생하는데 이상이 없는 건가요
'$' was used before it was defined.$(function(){1
Expected exactly one space between 'function' and '('.$(function(){1
Expected exactly one space between ')' and '{'.$(function(){1
Missing space between ')' and '{'.$(function(){2
Missing 'use strict' statement.$('.text').css({'display':'none'});2
Missing space between ':' and 'none'.$('.text').css({'display':'none'});3
Expected exactly one space between 'function' and '('.$('.show-btn').click(function(){3
Expected exactly one space between ')' and '{'.$('.show-btn').click(function(){3
Missing space between ')' and '{'.$('.show-btn').click(function(){4
Missing space between ':' and 'block'.$('.text').css({'display':'block'});6
Expected exactly one space between 'function' and '('.$('.hide-btn').click(function(){6
Expected exactly one space between ')' and '{'.$('.hide-btn').click(function(){6
Missing space between ')' and '{'.$('.hide-btn').click(function(){7
Missing space between ':' and 'none'.$('.text').css({'display':'none'});9
Expected ';' and instead saw '(end)'.}) ESLint (6)1
ERROR: '$' is not defined. [no-undef]$(function(){2
ERROR: '$' is not defined. [no-undef]$('.text').css({'display':'none'});3
ERROR: '$' is not defined. [no-undef]$('.show-btn').click(function(){4
ERROR: '$' is not defined. [no-undef]$('.text').css({'display':'block'});6
ERROR: '$' is not defined. [no-undef]$('.hide-btn').click(function(){7
ERROR: '$' is not defined. [no-undef]$('.text').css({'display':'none'});
답변을 작성해보세요.
0
코딩웍스(Coding Works)
지식공유자2021.06.15
문제되는 부분은 아니구요.
아래 강의 들어가시면 자세한 설명이 나와 있습니다.
아래 이미지에서 체크된 강의 보시면 됩니다.
답변 1