Make sure to move your charackter left up right down


#1


I move the Mario Character around the Page but still and when i click submit it tells me to move the character left up down or right

Replace this line with your code. 

$(document).ready(function() {
    $(document).keydown(function(key) {
        switch(parseInt(key.which,10)) {
			// Left arrow key pressed
			case 37:
				$('img').animate({left: "-=10px"}, 'fast');
				break;
			// Up Arrow Pressed
			case 38:
				$('img').animate({top: "-=10px"}, 'fast');
				break;
			// Right Arrow Pressed
			case 39:
				$('img').animate({left: "+=10px"}, 'fast');
				break;
			// Down Arrow Pressed
			case 40:
				$('img').animate({top: "+=10px"}, 'fast');
				break;
		}
	});
});


#2

When the submission opens the full screen view, click in the window and move a few spaces in all directions. Then return to editor. It all works for me.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.