+

Cookies on the Business Insider India website

Business Insider India has updated its Privacy and Cookie policy. We use cookies to ensure that we give you the better experience on our website. If you continue without changing your settings, we\'ll assume that you are happy to receive all cookies on the Business Insider India website. However, you can change your cookie setting at any time by clicking on our Cookie Policy at any time. You can also see our Privacy Policy.

Close
HomeQuizzoneWhatsappShare Flash Reads
 

This Is The First Line Of Code Written By A United States President

Dec 10, 2014, 20:41 IST

Yesterday, President Obama sat down with a bunch of students who were learning how to code in hopes of learning something about JavaScript himself.

Advertisement

Obama wrote the following line of code: moveFoward(100);

Quartz reports "Obama was playing with a Code.org tutorial based on the popular Disney movie Frozen. In his line of code, the President called a function-moveForward-pre-defined by Code.org for the exercise."

Code.org's Hour of Code campaign is part of Computer Science Education week.

You can watch the full video of President Obama learning how to code here:

Advertisement

You are subscribed to notifications!
Looks like you've blocked notifications!
Next Article