Proper formatting of your code makes things a lot easier to follow.
This is especially true when you review your sketches 2 years from now ![]()
Did you add a series dropping resistor to each LED. :o
220, 330 or 470 Ω
Please, in the future, supply us with information we request.
Also, follow TomGeorge's request in the previous post.