>

        <div class="test-section">
            <h2>ðŸ“¨ Message Log</h2>
            <div id="messages" class="messages"></div>
        </div>
    </div>

    <script>
        // *** SINGLE WEBSOCKET ADDRESS VARIABLE ***
        const WEBSOCKET_URL = 'ws://127.0.0.1:54321/chat';

        let socket = null;
        let messagesSent = 0;
        let messagesReceived = 0;
        let connectionStartTime = null;
        let connectionTimer = null;

        function updateStatus(status, message) {
      