Saturday, December 13, 2014

Winter is Here, Let's Code Something Fun!

Semester is pretty much over. I got antsy and took my database final before the instructor actually assigned it. He assigned that and the last homework assignment really late and I'm not sure why. I didn't read the last section and still got an A on it. I was good with that.

Web server final is still hanging over my head. I should just get it over with so it's not haunting me, but I know it's going to be completely unpleasant.

I started the AJAX course at Treehouse. Yay, getting to that next level stuff. This course has code challenges in it, and it made me notice that I'm getting just a bit rusty on my JavaScript. The challenge was basically plugging in different variables into the previous tutorial, and I spent a good 30 minutes or so wondering why it wouldn't work.

The problem: I hadn't changed my iteration variables in the for loop, so my function wasn't going through the list of data. You know, using i when you should be using j. Oops. A month or so ago I think I might have caught that sooner.

But I'm finally learning about JSON and what it can do to make me look fancy. I just started the videos about using jQuery in AJAX and it looks like it will be interesting. When this course it over, I want to watch Udacity's AJAX course to get another perspective on it and reinforce what I've learned. In the meantime, I want to see how I can work AJAX into a new or existing project of my own. There's that quiz program that Learn Javascript Properly suggests, so this might be the time to work on it during this winter break. If not that, try to make a one page app with an API.

It's probably time for me to learn some vanilla Javascript for DOM manipulation as well. I've been using jQuery all of this time, so when I see a document.getElementById my fingers don't want to type it. I don't know if that will be a weakness in the future, but I should try to get used to the old way of doing things as well.

That's all I've got for now. I'm going to watch a few more videos and get under the covers for a while.