Thank you guys for being here. I am just getting started and did some lines and they do not work. I have tested the LEDs by going to 5v direct on the board and they light up so it has to be in the code.
In my experience the easiest way to tidy up the code and add the code tags is as follows
Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.
Here is a YouTube video that does almost exactly what you are trying. As @gcjr said it is very important to set to “no line ending”. Also upper and lower case are handled. Worth the watch. It will almost certainly get your project working.