Can it work?

You never turn the led off.

Also external LEDs must have a current limiting resistor.

It is best to past your code and not a screenshot of it.