President Obama kicked off Code.org’s Hour of Code campaign by writing a single line of JavaScript code.