Show us your best try and we can help you figure out what you did wrong. You can't expect a tutorial for every possible permutation of Arduino code, but you can try to understand what turns an led on or off and incorporate that into code that you write.
Please pay attention to the category you choose for your thread. The uncategorized section (where you posted) has a description that literally says "Don't post threads here" and you chose it anyway.
I have moved your thread to a more appropriate board. Please take some time to read the "How to get the best out of this forum" thread and learn how things work here. You will find that you get a lot better responses that way.
Hello @tompiratecat and welcome:
You haven't said which Arduino you have nor how your button and LEDs are connected or to which Arduino pins. Knowing that would be a big help for us to help you.