File size: 1,276 Bytes
28a75da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Fraction Pizza Party! πŸ•</title>
    <link rel="stylesheet" href="style.css">
    <link href="https://fonts.googleapis.com/css2?family=Lilita+One&display=swap" rel="stylesheet">
</head>
<body>

    <div id="game-wrapper">

        <h1>Fraction Pizza Party!</h1>

        <div id="score-area">
            Score: <span id="score">0</span>
        </div>

        <div id="order-area">
            <h2>Order Up!</h2>
            <p>A customer wants:</p>
            <div id="fraction-order" class="fraction-display">
                <span class="numerator">?</span>
                <span class="denominator">?</span>
            </div>
        </div>

        <div id="feedback-area">
            <!-- Feedback messages appear here -->
            Click the pizza that matches the order!
        </div>

        <div id="pizza-options-area">
            <h2>Choose the Pizza:</h2>
            <div id="pizza-choices">
                <!-- Pizza options will be dynamically added here by JS -->
            </div>
        </div>

    </div> <!-- End of game-wrapper -->

    <script src="script.js"></script>
</body>
</html>