2 LEDs, 2 Buttons, and a Big Problem

sydneyv513:
I want one button to control one light, and another button to control another light. Please help.

It's not clear what "help" you want.

You didn't post your own code, so nobody can help in the sense of having a look at it to see what's wrong.

Or are you asking for help in the sense of providing a working program? Seems most folk in this forum baulk at doing that (catch fish vs teach to fish debate), but I did write a quick sketch to do what you want, so if you want it, I will post it here in the forum.

Meantime you might like to look at the state change detect example in the IDE (File / Examples / Digital); but maybe that's what you did already, impossible to tell seeing as you didn't post your code so far.

If you ever want to go beyond 2 buttons and leds, or even if you only ever have 2, arrays will make things easier.