title: How to make an error message when someone enters an invalid command
body: <p>This <a href="https://thimbleprojects.org/darkdestroyeriii/257297" rel="nofollow noreferrer">link</a> is to a Thimble project I'm working on using <code>JS</code> and <code>Jquery</code>. I'm making a text-based game, and I wondered if someone could help me make an error message appear so that when someone types a command that isn't in the functions function it returns an error in my game, and doesn't show one in the console. </p>