Skip to content

Instantly share code, notes, and snippets.

@AndrewJakubowicz
Created January 6, 2017 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewJakubowicz/e5f24504f369b729ccbf6339170730a7 to your computer and use it in GitHub Desktop.
Save AndrewJakubowicz/e5f24504f369b729ccbf6339170730a7 to your computer and use it in GitHub Desktop.
var screen = document.getElementById("screen");
var player = document.getElementById("player");
var height = 400,
width = 500,
playerHeight = 50,
playerWidth = 50;
// Add width and height to the screen.
screen.style.width = width;
screen.style.height = height;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment