Arduino LED Button Help *noob*

I am trying to write a code for a project I am doing but I have no idea what to do. I have one push button and 3 LEDs. I want to make It so when I push the button once the first LED turns on and when I press the button again the second one turns on while the first one still being lit, this would continue to the third LED. Can someone please help!!! Any guidance would be helpful!

seems like school homework.

What have you learnt or studied? what have you tried?

If you open up the IDE, you will find worked examples under "File".

A good one in this instance is the state change detection example