Recently I had a problem where I had to make a responsive UI. On mobile, it has one column and on desktop two. Sounds simple initially, and it did to me as well. Mobile Desktop My initial thought was just to use flex with 2 columns. However, ...

Markdown supported · ⌘↵ to post
Edidiong Asikpo (Didi)
Senior Developer Advocate at Ambassador Labs
Just like you, I always jump into using Flexbox first before switching to Grid (when I realize I couldn't achieve what I wanted.)
Insightful tip Ernestas Kvedaras. Going forward, I'd think more about the implication of using a flexbox or grid before jumping into writing the code. 😃