Hai... totally newbie here.
Im running on simple project to power up led for 10s.
Im using a push button (NO).
I need to power up the LED for 10s while the button is push.
Press push button (hold)
LED ON . (only for 10s)
LED OFF.
push button release.
if push button is push less then 10s (ie, 2s)... the LED only ON for 2s.
I would suggest you look at several of the examples that come with the IDE. You can look at BlinkWithoutDelay to learn how to track elapsed time (like 10s) without blocking your code. You can look at the button press examples to learn how to wire up a button and detect the state of the button.
Give it a try. If/when you get stuck, post your code, the errors and people will help