<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<div style= "border:1px solid blue; width: 500px; height:500px ">
<h1>문제</h1>
한국에서 제일 높은 산은?
<button onclick="getLocation()">해답</button>
</div>
<script type="text/javascript">
function getLocation() { // getLocation(해답) 을 눌렀을떄 함수실행
window.alert("백두산입니다.");
}
</script>
</body>
</html>
<걀과>
