tips on using millis ? small question

First of all, that seems way easier than everything i've tried. Second of all, by my logic now all i have to do is add 5 more LEDs to that code (like const byte ledPin 1/2/3/4/5/ etc and pinMode for each) and than write " if " the command for each one. Seems legit, i will try it out.

Thank you so much for this, i was close to 8 hours on this matter and for the last 5 of them i knew it was not supposed to be that hard. I will look up the term "boolean" since i don't know what it is, and keep learning until i'm good enough to help others.

Thank's again, Traian