led on for 5 sec after button press

Have a look at the blink without delay example provided in the IDE, and see if it gives you any ideas.