help

add a delayHold (500) to it and put the code you gave me at the end of the loop.

Yes.

The highlight thing is wrong or you don't understand curly braces, the holdDelay should be BETWEEN your bank of digital writes NOT included in them.

EDIT
Do make sure you have a pull up resistor on your button as the code does not enable the internal pull up.