Authoring SVGs in Illustrator is easy. Authoring an SVG in Illustrator and then properly exporting it for the web can be... tricky. Here's a short list of tips for avoiding common problems with exported SVG.
1. Verify Shape Combinations Support Use Cases (path construction)
Use your love of the pathfinder tool to craft clean paths and shapes. When combining shapes together, consider which shapes a developer may need to independently apply styles or animations to. A hole should be a hole, not a solid shape colored the same as the background.