CodeDay2014

toc Students in Mr. Cox's Science and Tech class at the Upper Merion Area School District used Code Day 2014 to learn code and molecular formulas at the same time!

Why Learn to Code?
[|Hour of Code Video]

Why In Science Class?
Students needed practice to memorize the formulas of molecules in the alkane family. These molecules are common fuels, including propane, butane, and the many different molecules that make up gasoline. The teacher set up a web page with mistakes in the content and taught students to edit the code that makes up a web page.

In order to fix the butane formula, they had to recall the correct formula, and then edit the code on the page. Some students went beyond simple editing, and changed the style of the page, or fixed the script. Samples of their finished work became review sites for students to practice memorizing the formulas.

Sample Student Pages
More will be added as they are completed!
 * Broken Page
 * Andrew's Page
 * Emily's Page
 * Kyle's Page
 * Taylor's Page
 * Zachary's Page

Code to Fix
This file contains 210 lines of code, which makes a basic web page. The code is not as simple as it could be, but it was written so a student who never worked with code could figure out what was happening. If you download the file, and open it, it will look like a web page, but it will be coming from a file on your computer, not the world wide web. If you learn how to open the file in the editor, you can change the code and see what happens. Need some clues?