a question about state changes

munch15a:
so I looked at the tutorial below but it seamed [sic] to be more about counting the number of button pushes
https://www.arduino.cc/en/Tutorial/StateChangeDetection

Just leave the counting part out then. Don't do the ++ increment, and delete the part where it toggles the led at the bottom of loop().

The inner if/else does exactly what you want, with a message for a press and a different message for a release.

(evanmars' solution does what you want the way you described it, and is a bit simpler, but if you ever need to distinguish between a press and a release (as opposed to just seeing a change regardless of which way) then you need the more complete change as in the tutorial.)