delay()

Try working through, and playing with, the blink without delay example in the IDE.
Hint: your solution won't include a for loop