documenting coding style of #265 and preparation for #264

Intermediate documentation for Code contributions.

This needs love from @magsout (CSS) and @miketaylr (JS).