Making a network chat using SDL3

I want to program a simple network game using SDL3, Emscripten, and WebSockets. I have started with a simple chat. But when I add SDL3 I cannot type anything in the text fields. Demo in the browser on the Glitch free hosting: https://chat-using-sdl3-emscripten-websockets.glitch.me/

Solution: sdl - Emscripten call to SDL_Init freezes Browser Textinput - Stack Overflow
Add this line of code before SDL_CreateWindow:

SDL_SetHint(SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT, "#canvas");

The first version of my simple chat using SDL3, Emscripten and SQLite on the free Render hosting: https://chat-sdl3-wasm-cpp.onrender.com/