whenever you do this:
el.innerHTML += HTML
you'd be better off with this:
el.insertAdjacentHTML("beforeend", html)
reason being, the latter doesn't trash and re-create/re-stringify what was previously already there
Recent articles
- Things I've learned serving on the board of the Python Software Foundation - 18th September 2024
- Notes on OpenAI's new o1 chain-of-thought models - 12th September 2024
- Notes from my appearance on the Software Misadventures Podcast - 10th September 2024