회전하는 메뉴(2)

jb kim·2021년 12월 18일
0

Web Projects

목록 보기
9/50

js

// 열기버튼, 닫기버튼, 콘테이너 객체 상수
const open = document.getElementById('?');
const close = document.getElementById('?');
const container = document.querySelector('?');

//열기버튼에 이벤트리스너 마우스 click 시 show-nav 클래스 추가

//닫기버튼에 이벤트리스너 마우스 click 시 show-nav 클래스 제거

profile
픽서

0개의 댓글