UI friendly JavaScript. Part I.

Let’s agree that JS is used mostly on the Web (in browser or node/deno) – most of the time JS code works in context of HTML and CSS. But for now JavaScript is a general purpose scripting language that does not take specifics of HTML and CSS into consideration – many HTML/CSS concepts and data…