Finally I decided to go back to the Calculator challenge. I have been putting it off because I had no interest in building a calculator. I did it before for a windows app, so I guess it didn’t excite me.
Anyway, I ran into this error:
Uncaught TypeError: Cannot read property ‘name’ of undefined
I knew I didn’t have ‘name’ variable anyway, but what can I do? I decided to comment out the new code I added and reran and when that didn’t work, removed more code… Guess what? All of my js code was commented out and I still couldn’t fix this error.
OK, fine, I refreshed the page. No more error… Great… but not so great since that’s not my code that caused the issue. Uncommented my code, everything was fine. No error…
It wasn’t so easy after all, but it was fun.
And to write this post, I wanted to upload my very ugly calculator screen capture. Didn’t want to go through photobucket, I decided to mess with ecowebhosting since I got a free year!! Couldn’t figure out how to upload my files without creating a hosting packages. Oh well, I’m not ready to buy a domain yet. I’ll do that later…