File size: 1,427 Bytes
4a8b1a3 cf78de4 4a8b1a3 46af6d4 cf78de4 46af6d4 cf78de4 46af6d4 4a8b1a3 0cbe662 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | <!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MBTI ๋ถ์๊ธฐ</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="app">
<!-- ์ง๋ฌธ ํ๋ฉด -->
<div id="question-container">
<h1>MBTI ๋ถ์๊ธฐ</h1>
<div id="question-box">
<p id="question-text">์ง๋ฌธ์ด ํ์๋ฉ๋๋ค.</p>
<div id="options">
<button class="option-btn" onclick="selectAnswer('์')">์</button>
<button class="option-btn" onclick="selectAnswer('์๋์ค')">์๋์ค</button>
</div>
</div>
<div id="progress">
<p>์ง๋ฌธ <span id="question-number">1</span>/21</p>
</div>
</div>
<!-- ๊ฒฐ๊ณผ ํ๋ฉด -->
<div id="result-container" class="hidden">
<h1>MBTI ๊ฒฐ๊ณผ</h1>
<p id="mbti-type">MBTI ์ ํ: </p>
<p id="mbti-description">์ฑ๊ฒฉ ์ค๋ช
</p>
<p id="mbti-jobs">์ถ์ฒ ์ง์
: </p>
<p id="mbti-tips">์์ฐ ๊ด๋ฆฌ ์๋ น: </p>
<img id="mbti-image" src="" alt="MBTI ์ด๋ฏธ์ง">
<button id="restart-btn" onclick="restartQuiz()">๋ค์ ์์ํ๊ธฐ</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>
|