line following robot

Hello,

I am working on creating a line following robot and I am wondering how I should go about programming it. I am using a Pololu QTR-8A sensor for this along with a SainSmart motor shield and 2DC motors

I am some what new to coding Arduino and some advice/help would be greatly appreciated

You program it with the Arduino IDE. Pretty sure the devices you bought came with example code.