Noob wiring/software help for esp8266

Then you must have drawn it incorrectly, because connected that way, the led could never be on. It's connected between ground and, when the switch is closed, ground.