OK… Sorry. I didn’t completely understand. I don’t currently have any led lights to test it, but I am going to reach out to another teacher I know who has a little more experience with this than I do and see if I can get them to respond.
However, I do think you were on the right path with your commands in the original screenshot you sent in the first place.
I have a couple of thoughts right now, but in the absence of having any LED lights at my current location, I can’t test this myself right now …
I think you will need to set the pins to output using the pinMode statements.
You will then use the digitalWrite statement as you did before. Here’s a screenshot of that part of the code as I think it would (should?) work.
Then, assuming you have connected all 4 data pins to LED’s, I also think you will need to have all 4 of your LED’s connected to a Ground pin. I’m not sure what that would look like since I think there are only three ground pins. (See diagram at the link below). I can’t test it so I’m not sure if you can connect multiple LED’s to a single Ground pin, but maybe this is some food for thought?
I’ll ping the other teacher I know on this to see if they have some ideas.
This link to documentation may also help. It has the diagram of the circuit board as well as the code that should make the LED circuit work.