Tutorial: Spark Variable and Function on One Web Page

Thanks a lot for this post. I’m a software dev completely new to hardware and would like to power my photon AND servo using a battery.

I have a standard size full-rotation servo. Here’s the exact servo I have: https://www.sparkfun.com/products/9347

I’d like to be able to power both the servo and photon using a battery. I’m considering using Sparkfun’s power shield (https://www.sparkfun.com/products/13626) but can’t figure out which battery would fit my needs.

Does anyone have any insight into the type of battery I should use?

Thanks!