1 Snippets
<10 Favourites
<10 Downloads

JavaScript

document.getElementById('chat-form').addEventListener('submit', async function(e) { e.preventDefault(); // Captura el texto del usuario const userInput = document.getElementById('user-input').value; //…