Created
April 21, 2020 14:03
-
-
Save chrisvasey/92262eed1307f12262ab4b9bfd37e764 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>Hangman</title> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> | |
<!-- Custom CSS --> | |
<link rel="stylesheet" href="css/stylesheet.css"> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="col-md-12"> | |
<h1 class="text-center mt-4">Hangman Game</h1> | |
<div class="row"> | |
<div id="stage" class="lifes-3"> | |
<div class="gallows"> | |
<div class="gallows-top"></div> | |
<div class="gallows-rope"></div> | |
<div class="man"> | |
<div class="man-head"></div> | |
<div class="man-body"> | |
<div class="man-arm-left"></div> | |
<div class="man-arm-right"></div> | |
</div> | |
<div class="man-legs"> | |
<div class="man-leg-left"></div> | |
<div class="man-leg-right"></div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<h2 class="text-center" id="displayedText">_ _ _ _ _</h2> | |
<div class="row"> | |
<div class="form text-center"> | |
<input type="text" class="form-control mt-3" id="guessInput" placeholder="Type your guess"> | |
<button type="button" id="submitGuess" class="btn btn-primary mt-3">Submit Guess</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Optional JavaScript --> | |
<!-- jQuery first, then Popper.js, then Bootstrap JS --> | |
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> | |
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script> | |
<script src="js/hangman.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment