Turing on led and 20 second lader stay off

That was not your specification.

This was your specification, notice the word 'fade'? Turn an LED on, and turn it off after 20 seconds is not the same. On/Off can be done.

And yes, Using the Arduino/ General Electronics section does kind of tell us it's general electronics using an Arduino!