samelawrence/PigLat.in — pull request #1 by benjamincharity (2013-08-12 05:18:02+00:00)
Title: Tweaking and Twerking

I had some time today so I started poking around. Take a look, feel free to throw away anything that you aren't jiving on, rewrite or reformat to your preferred style etc.. There should be enough comments to easily explain anything that is out of the ordinary.

#### Rough idea of what went down:

- Fixed a couple formatting bugs in the HTML nesting.
- Moved all JS to the bottom of the page so we don't hold up the DOM with a script.
- Switched `div.header` and `div.footer` to actual `

` and `

` elements.
- Added a very small CSS reset (a trimmed version of [this reset](https://github.com/benjamincharity/resets)).
- Switched from jQuery to Zepto.js (Zepto can do everything that we are doing at the moment...but if you really love jQuery feel free to switch it back).
- Styled the bitch up (super random styles; we should chat about what you'd actually like it to look like because I can't remember if we talked about it).
- Added a [humans.txt](http://humanstxt.org/) - NOTE: You will need to update your information within this file.
- Changed the CSS file from `style.css` to `screen.css` to prep for adding a print stylesheet.
- Added meta tags to enable the site as a web app to allow users to save it to their iOS homescreen.
- Moved from using IDs to classes simply for best practice.
- Separated our CSS hooks from out JS hooks by using `js-` prefixed classes.
- Added modernizr to test only for cssfilters and touch to allow for fallbacks.
- Added `iosZoom.js` to fix the iOS rotation zoom bug.
- Moved the primary JS function to use `.on('keyup'` because `.change` was acting funky for me.
- Slightly modified the primary JS function so we cache our elements inside variables for reuse and added comments.