Simple click switch operation

Yes but where does "The very first thing I did was put a 220 Ohm resistor between the 5v and an LED for the blink" come into it? That wouldn't blink.