1. Connect 10kΩ potentiometer as shown and center lead connects to analog 0 pin.
  2. Connect all 330Ω resistor to anode lead of the LED.
  3. Connect all jumper wire to digital pin 12 and 11.
  4. Connect all LED as the diagram below, make sure cathode lead of LED at ground wire.