The LED has one pin longer than the other. This connector is the anode ("positive-side"). This pin is marked in the sketch.
GPIO17: red LED
GPIO18: yellow LED
GPIO22: green LED
GPIO23: button (internal pullup needed)
To get a larger image, rightclick on image and select 'open image in new tab'.