Newer
Older
KYKYKY / santaku.html
<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>三択クイズゲーム</title>
    <link rel="stylesheet" href="santaku.css">
</head>
<body>
    <div id="quiz-container">
        <img id="image" src="" alt="クイズの画像">
        <button onclick="startQuiz()">クイズ開始</button>
        <div id="options" style="display:none;">
            <div class="option" onclick="checkAnswer(0)">1.選択肢1</div>
            <div class="option" onclick="checkAnswer(1)">2.選択肢2</div>
            <div class="option" onclick="checkAnswer(2)">3.選択肢3</div>
        </div>
        <p id="result"></p>
    </div>
    <script src="santaku.js"></script>
</body>
</html>