Update index.html
Browse files- index.html +26 -43
index.html
CHANGED
|
@@ -7,50 +7,33 @@
|
|
| 7 |
<link rel="stylesheet" href="style.css">
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
-
<
|
| 11 |
-
<
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
<label>์๋ก์ด ์ฌ๋๋ค๊ณผ ์ฝ๊ฒ ์ด์ธ๋ฆฌ๋์?</label>
|
| 20 |
-
<div>
|
| 21 |
-
<input type="radio" id="q1_yes" name="q1" value="yes">
|
| 22 |
-
<label for="q1_yes">์</label>
|
| 23 |
-
<input type="radio" id="q1_no" name="q1" value="no">
|
| 24 |
-
<label for="q1_no">์๋์ค</label>
|
| 25 |
-
</div>
|
| 26 |
</div>
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
<input type="radio" id="q2_no" name="q2" value="no">
|
| 33 |
-
<label for="q2_no">์๋์ค</label>
|
| 34 |
-
</div>
|
| 35 |
-
</div>
|
| 36 |
-
<button type="button" id="next">๋ค์</button>
|
| 37 |
-
</form>
|
| 38 |
-
</section>
|
| 39 |
|
| 40 |
-
<!-- ๊ฒฐ๊ณผ
|
| 41 |
-
<
|
| 42 |
-
<
|
| 43 |
-
<p id="mbti-type"></p>
|
| 44 |
-
<p id="
|
| 45 |
-
<p id="
|
| 46 |
-
<p id="
|
| 47 |
-
<img id="
|
| 48 |
-
<button
|
| 49 |
-
</
|
| 50 |
-
</
|
| 51 |
-
<
|
| 52 |
-
<p>ยฉ 2024 MBTI ๋ถ์๊ธฐ</p>
|
| 53 |
-
</footer>
|
| 54 |
-
<script src="app.js"></script>
|
| 55 |
</body>
|
| 56 |
</html>
|
|
|
|
| 7 |
<link rel="stylesheet" href="style.css">
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
+
<div id="app">
|
| 11 |
+
<!-- ์ง๋ฌธ ํ๋ฉด -->
|
| 12 |
+
<div id="question-container">
|
| 13 |
+
<h1>MBTI ๋ถ์๊ธฐ</h1>
|
| 14 |
+
<div id="question-box">
|
| 15 |
+
<p id="question-text">์ง๋ฌธ์ด ํ์๋ฉ๋๋ค.</p>
|
| 16 |
+
<div id="options">
|
| 17 |
+
<button class="option-btn" onclick="selectAnswer('์')">์</button>
|
| 18 |
+
<button class="option-btn" onclick="selectAnswer('์๋์ค')">์๋์ค</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</div>
|
| 20 |
+
</div>
|
| 21 |
+
<div id="progress">
|
| 22 |
+
<p>์ง๋ฌธ <span id="question-number">1</span>/21</p>
|
| 23 |
+
</div>
|
| 24 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
+
<!-- ๊ฒฐ๊ณผ ํ๋ฉด -->
|
| 27 |
+
<div id="result-container" class="hidden">
|
| 28 |
+
<h1>MBTI ๊ฒฐ๊ณผ</h1>
|
| 29 |
+
<p id="mbti-type">MBTI ์ ํ: </p>
|
| 30 |
+
<p id="mbti-description">์ฑ๊ฒฉ ์ค๋ช
</p>
|
| 31 |
+
<p id="mbti-jobs">์ถ์ฒ ์ง์
: </p>
|
| 32 |
+
<p id="mbti-tips">์์ฐ ๊ด๋ฆฌ ์๋ น: </p>
|
| 33 |
+
<img id="mbti-image" src="" alt="MBTI ์ด๋ฏธ์ง">
|
| 34 |
+
<button id="restart-btn" onclick="restartQuiz()">๋ค์ ์์ํ๊ธฐ</button>
|
| 35 |
+
</div>
|
| 36 |
+
</div>
|
| 37 |
+
<script src="script.js"></script>
|
|
|
|
|
|
|
|
|
|
| 38 |
</body>
|
| 39 |
</html>
|