Mr. Mouse: Learn JavaScript the fun way

Mr. Mouse needs your help getting to the only thing he's ever wanted in life—cheese! However, to tell him where to go, we'll need a bit of JavaScript ✨

Level 1

Level details

Mr. Mouse desperately wants some cheese to eat! To guide him to the cheese, you need can give him four directions Up, Down, Right and Left. However, to tell him which direction to go, you'll need to use console.log("DIRECTION");

For example, if you'd like him to go left, then you would type console.log("Left");

Type the instructions you'd like to give Mr. Mouse below in the console!

Level 2

Level details

Uh oh! There seem to be walls this time! However, with your help he can finally get to the cheese!

Like the previous level, instruct Mr. Mouse to go in a certain direction by using console.log("DIRECTION");

Type the instructions you'd like to give Mr. Mouse below in the console!

Level 3

Level details

It's night now, and the cheese isn't visible. Fortunately, for us, getting the location of the cheese is pretty simple. We'll need to use console.log(cheese_position);

Once you get the location of the cheese, it should be pretty simple to direct Mr. Mouse to the cheese :) Don't worry, there are no walls in this level!

Type the instructions you'd like to give Mr. Mouse below in the console!

Level 4

Level details

This level is not completely done yet, our engineers are hard at work fixing it!

Type the instructions you'd like to give Mr. Mouse below in the console!

Level 5

Level details

This level is not completely done yet, our engineers are hard at work fixing it!

Type the instructions you'd like to give Mr. Mouse below in the console!

Code Console!