3 ms·
* It takes practice. * Stop thinking in terms of classes/composition/modules. Stop crying about how hard life is, putting text to screen, and making excuses th
by austin-cheney 3y ago
* It takes practice.
* Stop thinking in terms of classes/composition/modules. Stop crying about how hard life is, putting text to screen, and making excuses that somebody or some framework isn’t doing it for you. Get your head right.
* First, get cozy with the DOM. It’s a tree model, like a file system. This is the compile target of the browser. If this a bridge too far then thrown up your hands and just give up.
* Second, most, but not all of, CSS properties cascade down the tree. Practice will make this knowledge muscle memory.
* Third, learn the box model. This is tiny and should become second nature. Super tiny, so no excuses here.
That’s it. Really. Again, if this is a bridge too far maybe rapid experimentation in the browser is something you should out source at 6 figures or you could just spend a week learning it.
- deleted 3y ago[deleted]
- Dansvidania 3y agook