29
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?
3 comments
Log in to join the discussion
Log In3 Comments
sams251mo ago
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.
3
seanj771mo ago
Wait you actually fixed it yourself? I'd have given up after the third error honestly.
1
grant_ross271mo ago
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.
6