This has been entire day of Pam needs to learn to read…
Today we had a day of learning Ajax calls and event handlers. I also had a weird day of things not working due to:
1. typos (“it’s readyState, NOT readState”) I was desperately searching for half an hour for this issue, until my desk neighbor happened to glance at my code.
2. ghastly errors in reading a file, until the instructor pointed out that I was attempting to read an array file that was in fact NOT an array file. I’d copied the wrong url link! AND…
3. My personal favorite—the misplaced semicolon. It took coming home, eating dinner, then going back to the code to see that I hadn’t ended the onreadystatechange correctly. Once I moved the semicolon, my job ran without a hitch.
As much as these brain-farts are always hysterical, it makes me nuts to miss things so easily avoided. I suppose it does beat completely missing the entire concept of how to write the function!
It’s like dropping stitches…..you need to rip back your code, reread the pattern, replace your stitch marker…….YOU GOT THIS!!!!!!!
I actually improved today. I caught a mistake where I had put spaces between