The problem
When the server built every page, every reaction was a round trip: even ticking one checkbox meant a request and a whole new page. In December 1995 Netscape and Sun announced JavaScript, a scripting language for page authors that ran inside the browser. Internet Explorer 4 (1997) and Netscape 4 let scripts change a page after it had loaded, each in its own way. This was called "Dynamic HTML".
The idea
The page keeps its data in JavaScript variables and redraws itself. Here todos is an array; render() turns it into one HTML string and puts it in the page with innerHTML. Adding, ticking and filtering only change the array and call render() again: no request leaves the browser.
The handlers are written straight into the markup: onsubmit="return addTodo()", onclick="setFilter('done')". This model is older than any standard: W3C DOM Level 1 (1998) calls what Netscape Navigator 3 and Internet Explorer 3 offered to scripts "DOM Level 0" and does not define events at all (today the HTML standard defines these attributes). A handler that returns false cancels what the browser would do next, here sending the form.
What hurt next
The page could change itself, but it could not exchange data with the server without leaving: loading fresh data or saving a change still meant a form submission or a link and a whole new page, and everything kept in variables was gone after it. On top of that, every browser needed its own branch of the code. XMLHttpRequest and the AJAX approach let a script talk to the server in the background and update only the part of the page that changed.
How close this is to the original
The demo finds elements with document.getElementById (W3C DOM Level 1), which Internet Explorer 5 and Netscape 6 supported. Earlier code had to check which browser it ran in first: Internet Explorer offered document.all, Netscape 4 document.layers, and scripts branched on them. document.layers is gone from today's browsers; document.all still works for old pages but is falsy by design, so an if (document.all) check is skipped in Chromium. innerHTML was not part of DOM Level 1 either; today the HTML standard defines it. The lab runs each file as a module, so the functions the markup calls are put on window by hand; in 1998 a script's functions were global by themselves.