tintinnabule / CasperHW

Casper Homework
0 stars 0 forks source link

[Casper] Assignment 2 #1

Open irdz opened 9 years ago

irdz commented 9 years ago

This looks great, you got all of them right but I did notice that for question 4 you only select h2. Normally we want to be a bit more specific for that type of selector to make it a bit more human readable. Just reading the snippet it's unclear to a different developer what you're trying to grab there.

On a formatting note, it was a bit messy so make sure you wrap code snippets that you want to submit in the proper markup. Happy to help with that.

tintinnabule commented 9 years ago

would $("h2").html() be better?

irdz commented 9 years ago

I'm actually referring to using either a class or an ID