LED, push button and analog values ain't working they way it should

I am new to the entire arduino conecpt, so bare a along with me

but i will remember it for next time :wink:

a friend told me this would help against the debounce, and i was trying to implement an analog reading for the LED.

It ain't working, i know that, but i fail to see the solution on how analogewrite to the LED and yet keep it high with the current value.

what would you adivce me to do?