Spent 4 hours yesterday because I forgot one semicolon in my JavaScript
I was trying to make a simple button that changes the page color. My code looked right, I checked the function names, the event listener, everything. The browser console just kept saying 'unexpected token' and pointing to a blank line. I went through three different online guides, even rewrote the whole thing from scratch twice. Finally, after making a cup of coffee and stepping away, I saw it. A missing semicolon on line 17, right after a variable. My whole program broke because of one tiny punctuation mark. It's so easy to miss when you're starting out and the error messages don't really help. Has anyone else lost a huge chunk of time to something that small?