15
PSA: My first coding project took forever because of a simple mistake
I was learning HTML and CSS to build a basic website. The layout kept breaking on different screens, and I couldn't figure it out. I spent a whole week tweaking little things, getting frustrated. Then I found out I had a typo in my media query. Now I go slower and check my code bit by bit.
3 comments
Log in to join the discussion
Log In3 Comments
thomas3111mo ago
Yep, the media query typo is a killer. Did the same thing with a missing bracket in a CSS file once. My entire stylesheet just gave up. Took me two days of checking the big stuff before I spotted that one dumb character. Those tiny errors waste so much time. Makes you triple check every line now.
-1
mila_harris1mo ago
Oh man @thomas311, it's like our brains just refuse to see that one missing piece of punctuation! You stare at the code for hours and your eyes just slide right over it. The victory rush when you finally spot it is huge, but the two days of pulling your hair out before that is the worst. It's the universe's way of keeping us humble, I swear. Those tiny typos are the real final boss of coding.
7
jordan_webb1mo agoMost Upvoted
Seriously? I gotta push back on this one (respectfully, of course). Those tiny typos are annoying, but they're not the real final boss. For me, the absolute worst is when your logic is just... messy. You know, when the code runs fine but it's a tangled mess of if/else chains that you wrote at 2 AM. Fixing a missing comma is a quick win. Untangling your own bad logic is a whole other fight. That's the real humbling thing, when you have to re-learn your own code.
9