"> 02-01_if "> 02-01_if ">
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>02-01_if</title>
<script type="text/javascript">
	let va = prompt('숫자를 입력하세요');
	let res = null;
	if(va%2==1){
		res = '홀수';
	} else {
		res = '짝수';
	}
	console.log(va + ' : ' + res);
</script>
</head>
<body>

</body>
</html>