제이쿼리 숙제 질문입니다.
<input id="input-q1" type="text" /> <button onclick="q1()">클릭</button> ㅇ이렇게 되어 있는데, input-q1 전체를 사용하지 않고 'function q1()' - q1 약어를 사용하는 건가요? function input-q1() 전체로 사용하지 않는 이유가 있나요?