Loading content…
Loading…
Transcript

https://developers.google.com/chrome-developer-tools/docs/shortcuts

yourName

var yourLevel = 10;

var yourName = "Patrik";

var yourAge = yourLevel + 11;

var YourFullName = yourName + " Gustafsson"

yourFullName.replace ("Patrik","Agent");

tellTheTruth(yourFullname +" love code");

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

Software Developer

Computer Science Teacher

Patrik Gustafsson

Next

HowToCode.se

@paven

paven@mumma.nu

0731-529329

http://jsforcats.com

http://webplatform.org

http://bit.ly/jsbasic

(cc) image by jantik on Flickr

http://www.linkedin.com/in/paven

Chromium/Opera

ctrl-shift-i

int variableName = 10;

int anotherVariableName = variableName + 11;

String someText = "The actual Text";

String someOtherText = someText + variableName;

Variable

Sequence

1000 = 8

Can change!

Stores the values

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!

Function

perfomers actions

Method

A Quick Introduction To

Programming

Selection

variableName === 21

Pick food?

Object

Console

Frame

if(yourName === "Patrik"){

console.log("Yey!!");

}

if(yourAge === 21){

console.log("YES!!");

} else {

console.log("no!!");

}

GraphicElement

Apple

Carrot

Meat

This talk is an overview of what would take 1 week to learn in a gymnasium or 5 weeks in a university.

GamePiece

var you = {

fullname: "Patrik Gustafsson",

title: "Master Coder",

explain: function(){

console.log(this.fullname + " is a " + this.title);

}

}

Rectangle

window

Triangle

Circle

Square

Iteration

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