Press Space

Teaching a
2nd Grader JavaScript

without even trying

Options...

Code.org

Toys

Trading Cards

It's Just JavaScript

    for(var i = 0; i<l; i++) {
      var obj = soundGrid[i]
      console.log(obj)
      if (x>= obj.x1 && x < obj.x2 && y > obj.y1 && y < obj.y2) {
         //Work around non-pre-loaded sounds
         soundManager.createSound({
             url:obj.content.file,
             id:obj.content.name
         })
         soundManager.play(obj.content.name)
         //Fixed as of 4/10/2015 :-)
         //sound(obj.content.name) 
      }
    }

NOTE: There is currently an issue with playing sounds on Android devices. They will only play when triggered by a user action.

Progression

2 Pages, 50+ lines of code

Challenge questions

Guide for Grownups

Code to copy and compare if something goes wrong and a translation of that code

Text

Extra challenge questions

Helping

  • Be patient
  • Remember: It's a language
  • Let them experiment and fail
  • Ask them to explain
  • Let them teach
  • Have fun
  • It would be cool if ...

#nejsconf

NEJustSoccer

We worked together to build a custom multiplayer app for #NEJSConf

User Requirements

 

Screen Time

An hour coding and 4 hours reading a novel
vs
An 4 hours coding and an hour reading a novel

Creation vs Consumption

Not all screen time is equal

Final Thought...

http://bit.ly/bcochat
#BCOChat

A chat app in ~30 lines of code

Links

Derek Eskens

@snekse

Thanks

Credits

http://www.colleenl.in/helicoprion/wp-content/uploads/2012/09/STEM-All.png

https://scratch.mit.edu/


http://www.scratchjr.org/

http://code.org/

http://hourofcode.com/us


https://www.eliwhitney.org/7/workshop/projects/code-org-scratch


http://bit.ly/pbworks-Guessing-Game-by-M-Leishman


http://www.geekwire.com/2014/let-code-disneys-frozen-teams-code-org-inspire-young-programmers/

 

http://technogstic.blogspot.com/2014/03/scratch-jr-kickstarter-aims-to-teach.html

 

https://bitsbox.com

BCO15

By Derek Eskens