console.log(‘whut’)

So, technically, I’m 84% done the Intro to JavaScript class. I say technically because I can’t crack the code (OMG I’M HILARIOUS) on the last two exercises, and I’ve skipped ahead to see what the bonus project is, and have set up those HTML and CSS files (provided by Skillcrush) in JS Bin.

Right now it feels like I’m learning these bits and pieces of JavaScript, but am unclear about how to put them together and in what order. It’s like someone is teaching writing, and the student has learned: This is a declarative sentence. A question ends in a question mark – ? Sometimes you need to use semi-colons; sometimes not. Occasionally, something might have an exclamation!

But it’s like – what does that all MEAN? and which one goes where?

So have spent a good bit of time comparing my working code to the solution code, thinking that the LOOK like they match but apparently not because mine’s not working, and playing “where the fuck is the difference?” Like so:

theirs
I’m not going to tell you what I did wrong here, because it was so dumb I couldn’t even believe it.

The course has linked to a bunch of books and online sources to keep learning about JavaScript. One is called Eloquent JavaScript, which has this sentence in the introduction: “Because computers are dumb, pedantic beasts, programming is fundamentally tedious and frustrating.” HA.

Wish me luck on finishing the last couple of exercises, so I can do the bonus project without feeling sneaky. The exercises include working with some jQuery code, and include asking a prompt, swapping images, telling the code to wait, fading in an answer, making an object shake, and other fun stuff.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s