the best languages are live.
this is the greet language from before, but it runs on every keystroke.
TRANSLATED:
it's easy to code a live language. listen to what the user writes like this:
textarea.oninput = () => {
result.textContent = translate(textarea.value)
}
and don't forget to run it once AUTOMATICALLY when the page loads:
result.textContent = translate(textarea.value)
back to the dream