eholder="Type a message..." onkeydown="handleKeyPress(event)" />
            <button onclick="sendMessage()">Send</button>
        </div>
    </div>
</div>

<!-- JavaScript for handling chatbox interaction -->
<script>

    // Call loadChatMessages when the page loads
    window.onload = loadChatMessages;

    // Ensure messages are saved when navigating away
    window.onbeforeunload = saveChatMessages;
</script>



<script src="/webjars/marked/marked.min.js"></script>

<layout-footer></layout-footer>
</bo