Noob wiring/software help for esp8266

Big clue VIN not VOUT.
2nd clue the code is looking somewhere else for the pin change.
3rd clue look into a button library.