First code troubleshooting

thank you, i tried taking small steps and everything worked till adding the 5 second timer.

will do some learning and try another night, my attempt tonight came back with a code error so will read through this thread and try getting it working.