[코딩애플] 버튼 클릭 이벤트 과제

[코딩애플] 버튼 클릭 이벤트 과제

alert-box는 하나만 사용하고, 자바스크립트의 innerText 속성을 이용해 서로 다른 버튼을 클릭할 경우, 각각 다른 메시지를 출력시켜준다.

See the Pen Untitled by heimish902 (@heimish902) on CodePen.

출처 : https://codingapple.com/

from http://heimish-web.tistory.com/85 by ccl(A) rewrite - 2021-11-24 18:01:33