https://developers.google.com/chrome-developer-tools/docs/shortcuts
yourName
function tellTheTruth(truth) {
truth = truth.toUpperCase();
console.log(truth);
}
Get food!
more food?
while (yourAge<999)
{
console.log("age:" + yourAge);
yourAge++;
}
https://github.com/paven/canvas_nibbles
(cc) image by jantik on Flickr
http://www.linkedin.com/in/paven
Chromium/Opera
ctrl-shift-i
1000 = 8
Can change!
http://webmasters.stackexchange.com/questions/8525/
X
8421
Barbeque the burger
Operator
Put the burger in the bread!
10 + 12
+ - * /
23 == 34
= += -= /= *=
== === >= <= !=
Put on some other stuff!
variableName === 21
Pick food?
if(yourName === "Patrik"){
console.log("Yey!!");
}
if(yourAge === 21){
console.log("YES!!");
} else {
console.log("no!!");
}
Apple
Carrot
Meat
again, again and again
No more food for you?
IE
F12
Firefox
ctrl-shift-k
https://developer.mozilla.org/en-US/docs/Tools/Web_Console
Introduction to
for the others
Developement
Safari
ctrl-alt-i