onWordAttemptedRejected now modifies border-color of some elements rather than the submit button background color