T
18

Spent 6 hours on a CSS grid layout that should have taken 20 minutes

I've been doing the freeCodeCamp stuff off and on for a few months. Last week I was building a simple photo gallery page with CSS grid. The boxes kept stacking vertical no matter what I did. I checked the syntax, checked the browser, checked the docs. Finally after 6 hours I realized my container div had a typo in the class name. One missing letter. "gird" instead of "grid". Has anyone else had a dumb typo like that eat up half their day?
2 comments

Log in to join the discussion

Log In
2 Comments
julia_patel
Happens to the best of us. Started using a linter and now those typos get caught in like two seconds flat, best 10 minutes I ever spent setting it up.
9
michaelchen
Wish I'd done it years ago honestly.
2