n id="disconnectBtn" disabled>Disconnect</button>
    <input type="text" id="messageInput" placeholder="Enter message">
    <button id="sendBtn" disabled>Send</button>
    <div id="output"></div>

    <script>
        let socket;
        const connectBtn = document.getElementById('connectBtn');
        const disconnectBtn = document.getElementById('disconnectBtn');
        const sendBtn = document.getElementById('sendBtn');
        const messageInput = document.getElementById('messageInput');
        const 