Been coding since I was 12, and professionally since 1996. I love pure JavaScript, CSS and HTML together with NodeJS & Express & MariaDB. Also use Swift,Java or C, and a tiny bit of Assembly for "fun"
I think CSS Grid is better for two-dimensional layouts while Flexbox is better for one dimension, as Grid is a bit of an overkill for one dimension. They're also great to use together actually.
Great points. I especially agree that using classes like col-xs-4 and so forth, complicates the code both in HTML and CSS.
Question : Compared to just plain flex box in css, what are advantages and disadvantages over css grid?
I think CSS Grid is better for two-dimensional layouts while Flexbox is better for one dimension, as Grid is a bit of an overkill for one dimension. They're also great to use together actually.
I actually talk about Grid vs Flexbox in this tutorial: scrimba.com/p/pWqLHa/cZgMGt4