NHL sim


so i dont know why but nothing is working right

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>NHL Franchise Sim </title>
    <link rel="stylesheet" href="styles.css">

</head>
<body>
    <div class="container">
        <nav>
            <ul>
                <li><a href="/trade.html">Trade</a></li>
                <li><a href="free_agents.html">FA</a></li>
                <li><a href="games.html">sechule</a></li>
            </ul>
        </nav>
        <h1>NHL Franchise Simulator</h1>
        <div id="startup-screen" class="overlay">
            <div class="selection-box">
                <h1>Select Your Franchise(s)</h1>
                <p>Pick the teams you wish to manage for the 2024-25 season.</p>
                <div id="team-grid" class="grid-container">
                    <!-- JavaScript will inject all 32 NHL teams here -->
                </div>
                <button class="btn-start" onclick="confirmSelection()">Begin Simulation</button>
    </div>
</div>

<!-- Main Game Dashboard (hidden by default) -->
<div id="main-dashboard" style="display: none;">
    <!-- Your existing Hub code -->
</div>


    <!-- The Main Dashboard (appears after team selection) -->
<div id="main-dashboard" class="dashboard-grid">
    
    <!-- Header Section -->
    <header class="hub-header">
        <h2>Franchise Mode Hub</h2>
        <button class="primary-btn" id="sim-btn">Simulate Next Day</button>
    </header>

    <!-- Standings Section -->
    <section class="standings-card">
        <h3>NHL Standings</h3>
        <div id="standings-container">
            <!-- Standings table will be injected here -->
        </div>
    </section>

    <!-- Recent Activity Section -->
    <section class="results-card">
        <h3>Recent League Results</h3>
        <ul id="recent-results-list">
            <!-- Game scores will be injected here -->
        </ul>
    </section>

</div>

    
    <button class="btn" onclick="advanceDay()">Simulate Next Game</button>

    <table>
        <thead>
            <tr>
                <th>Team</th>
                <th>W</th>
                <th>L</th>
                <th>OTL</th>
                <th>PTS</th>
            </tr>
        </thead>
        <tbody id="standings-body">
            <!-- JavaScript will fill this -->
        </tbody>
    </table>

    <div class="history">
        <h3>Recent Results</h3>
        <div id="history-box"></div>
    </div>
</div>

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

heres the main

like i said nothing is working so next week fixing week

now it loads right but doesnt work

do me a favor

what might be broken in the code becuse i dont know i looked over it 15 times but i still cant find it


Leave a Reply

Your email address will not be published. Required fields are marked *