Math and front-end
chenhuijing.com
chenhuijing.com
(Front end design ought to have more math behind the scenes, like a constraint solver, and less arithmetic visible to the web designer.)
I think we should be emphasizing mathematical knowledge in front-end design and implementation, not trying to hide it under the covers. The better you are at math, the easier it is for you to implement the correct system for the design you want, and the less you have to compromise the design to fit the systems you have at hand.
At least, the dot graph layout language uses integer programming to lay out it's graphs.
It took decades to get CAD GUIs right, but now they're quite good. They solve a far harder problem than web design. Look to them for guidance.
2. Once browser creates DOM and CSSOM how does it use this information to create the view that I see?
https://developers.google.com/web/fundamentals/performance/o...
javascript:(()=>{document.querySelectorAll("p,div,article,section,ul,ol,li").forEach(x=>{x.style["font-family"]="Verdana";x.style["font-size"]="16px";});})();
It selects all tags that generally contain content and sets the font to Verdana, with a font size of 16px. Whenever I get to such a site, I just click the bookmark and it's readable.