Re:Show HN: Bepis – Crazy Format for HTML+CSS in JavaScript
by z3t4 on Tuesday January 07, 2020 @02:13AM
(#21977738)
Using document.createElement to create elements and element.appendChild(node) to add them is tedious. But once you have abstractions in place, like var menu = createMenu(), subMenu=createMenu(), menu.add(subMenu) it becomes very powerful and more fun to work with the DOM.
[ Parent
| on HN ]
There are no comments on this comment yet.