Connect LEDs, limiting resistors, and switch as shown:


Simulator: https://tinkercad.com/things/jpsInqVPbKY