7
Spent 6 hours chasing a CSS grid bug that was just one missing closing bracket
I was trying to make a responsive card layout with CSS Grid and kept getting this weird overlap on the third row, but after re-reading the whole stylesheet three times I found the missing bracket in the gap property. Has anyone else wasted half a day on a single character that broke everything?
3 comments
Log in to join the discussion
Log In3 Comments
mitchell.shane11d ago
Oh man, I feel this so deep. I once spent a whole evening on a PHP script that just kept giving me a blank page - turned out I was missing a single semicolon on a variable assignment. It's wild how one tiny thing can just wreck hours of work!
0
joseph_lewis923d agoMost Upvoted
And @emma_young you're spot on, I pulled my hair out for two days over a stray curly brace once.
6
emma_young11d ago
Haha yeah or missing a closing bracket and spending an hour questioning your life choices.
3