나만의 백과사전
close
프로필 배경
프로필 로고

나만의 백과사전

  • 분류 전체보기 (42)
    • 프론트엔드 (29)
      • HTML, CSS (8)
      • Javascript (21)
    • UI, UX (11)
      • Figma (11)
    • 워킹홀리데이 (2)
  • 홈
  • 태그
  • 방명록

event

event event란? 이벤트에는 다양한 것이 있다. 클릭했을 때 마우스를 가져다 댔을 때 마우스를 땔 때 와이파이 연결을 해제했을 때 드래그 했을 때 등등 여러가지 이벤트가 있다. 그 중 가장 이해하기 쉬운 click 이벤트를 살펴보겠다. Click me! const title = document.querySelector(".hello:first-child h1"); function handleTitleClick() { title.style.color = "blue"; } title.addEventListener("click", handleTitleClick); 세부 내용 const title = document.querySelector(".hello:first-child h1"); title이라는 ..

  • format_list_bulleted 프론트엔드/Javascript
  • · 2023. 9. 21.
  • textsms
  • navigate_before
  • 1
  • navigate_next
전체 카테고리
  • 분류 전체보기 (42)
    • 프론트엔드 (29)
      • HTML, CSS (8)
      • Javascript (21)
    • UI, UX (11)
      • Figma (11)
    • 워킹홀리데이 (2)
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바