It's quite hard to know how to do most practices involved in music by just trial and error and random experimentation on a keyboard.
the keyboard is not random at all. all the notes are in order, in a perfect layout