You can not fix your car, if you don't know about car...
by me 😝
→ yeah you should know about browser at first
*V8 is used in Node.js as well
- parse (creating DOM tree, CSSOM tree)
▼ DOM is created like this
From google developer article "Constructing the Object Model "
create AST(abstract syntax tree) which is possible to compile. it's similar to DOM,CSSOM
from this website
▼ types of compiles
JIT(Just in time)
AOT(Ahead of time)
compile before executing like Java,C
- background-color: green; for btn-success class
- border-radius: 5px: for header id ...
- width, height
- z index ...
order to 2D graphic engine
paint on actual pixel on your display by using order which was created by graphic engine
We've done it !!! yeah....