Bonnie,
I was able to fix a similar problem with the same model washer today so see if any of the following helps you.
First, this model is not belt driven; it has what's called a "direct drive" which could be the source of your problem, as it was for me.
Unlike in your case, our washer made a horrific spinning/clicking sound when it was supposed to be agitating or spinning but it filled and drained like normal, and the horrific noise stopped when the lid was lifted.
Because of those two facts, I discovered it was likely the
direct drive coupling, which connects the washer's motor to the transmission.
Turns out, that horrific sound was the sound of one of the couplings spinning uselessly after it broke.
After some internet research, I discovered it was a simple matter of getting and installing the new coupling, which was very easy to do with a little professional help via YouTube.
Here is the website of a parts supplier with great schematics and great prices that I bought the part from.Good luck!
Dan