Created
February 24, 2017 13:16
-
-
Save pmutua/d8c4ce7265cee4ce27cfa09156b71984 to your computer and use it in GitHub Desktop.
pingpong
This file contains 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
<div class="col-md-10"> | |
<div class="content"> | |
<!-- add a form--> | |
<form id="pingPongForm"> | |
<h1>Let's play!</h1> | |
<h2>Rules!</h2> | |
<p>PingPong will count your number with the following exceptions</p> | |
<ol> | |
<li>Numbers divisible by 3 becomes "ping"</li> | |
<li>Numbers divisible by 5 becomes "pong"</li> | |
<li>Numbers divisible by 15 becomes "pingpong"</li> | |
</ol> | |
<div class="form-group"> | |
<label for="number">Enter your number please:</label> | |
<input id="number" class="formcontrol" required=" " type="text "></input> | |
<button class="btn">Ping-Pong!</button> | |
</div> | |
<div id="userOutput"></div> | |
</form> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment