Thanks Tom...
I was hoping the OP would pull it together - reading LED output pins etc, but if your code helps them understand the structure and basics - your input has served its purpose.
OP, this isn’t the way the forum usually works, but you were obviously well out of your depth on a very simple starter project.
Take advantage of the examples you’ve been given, and study the methods and styles used.
There may still be some work to do, but you’re well on the way!
Remember to hit Tom with some karma!