T
21

PSA: The CSS class I typed wrong cost me 3 hours of debugging yesterday

I was working on a simple contact form in my kitchen around 2AM and couldn't figure out why the submit button looked like a gray box. Turns out I had a typo in my class name - wrote 'contianer' instead of 'container' - and the browser just ignored it completely. Has anyone else wasted hours on a single misspelled word?
2 comments

Log in to join the discussion

Log In
2 Comments
bailey.sam
contianer" is my new favorite CSS class, I use it to hide my pride.
3
ninag10
ninag108d ago
Wait, are you me? I literally have a class called "display_hide_shame" that I use for all my messy code projects.
-1