PSA: Getting my JavaScript function to work felt awesome
I kept getting errors when trying to make a button change text on my page. After some trial and error, I fixed the syntax and it ran perfectly. What little coding win have you had lately?
Third error? That's when I usually start considering if the problem is even worth solving. Honestly the more something fights me the better it feels when it finally works. It's like the computer owes you one after all that. I'd be worried if everything just worked on the first try.
Had 7 identical syntax errors once. Turns out I was missing a semicolon in a loop header. Now I check for that first when things get weird. Makes the process less about fighting and more about learning.