@JoshPalmeri, Front End Developer
Stony Brook University
http://slides.com/palmerijosh/heweb15-dir/live
joshua.palmeri@stonybrook.edu
</>
var x = dog.didTrick();
if (x) {
dog.giveDogTreat();
}
var k = kid.obeyedMom();
if (k) {
kid.giveReward();
}
var k = kid.obeyedMom();
if (k) {
kid.giveReward();
} else {
kid.givePunishment();
}
var x = $('.my-element').length;
if (x==0) {
do('this');
} else {
do('that');
}
if (you.user) {
}
you.user = true;
if (you.user) {
}
you.user = true;
if (you.user) {
think('bad_customer_experience');
}
Now, go make something great.
@JoshPalmeri, Front End Developer
Stony Brook University
joshua.palmeri@stonybrook.edu
http://slides.com/palmerijosh/heweb15-dir