Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<meta name="description" content="hangman" />
<meta charset=utf-8 />
<title>HANGMAN!!!</title>
</head>
<body>
  <h1>Hangman</h1>
  <canvas id="canvas" width="200" height="200">Fuck you, javascript hater. Why you be hatin' on javascript?</canvas> <br>
  
  <div id="word"></div>
  <div id="letters">
    <label for 'letterGuess'>Guess a letter!</label>
    <input type='text' id='letterGuess'>
  
    <button id='submit'>Submit</button>
    <div id="guessed"><p id=guessedP >Guessed letters:</p></div>
</div>
 
<button id="newGame" >New Game</button>
  <button id="clear">Clear</button>
  
</body>
</html>
 
*{
font-family:Verdana;
}
#canvas{
  background-color:lightblue;
  border-radius:15px;
}
 #A,#B,#C,#D,#E,#F,#G,#H,#I,#J,#K,#L,#M,#N,#O,#P,#Q,#R,#S,#T,#U,{
  background-color:lightblue;
}
#guessed{
  background-color:black;
  height:70px;
}
#guessedP{
  color:lightblue;
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
veronicagirl2kpro
0viewers