Help with controlling servo with Slider potentiometer

The Arduino Uno only has analog inputs 0 through 5. There is no analog input 7.

Connect your pot to one of the six analog inputs.