-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
112 lines (111 loc) · 5.03 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" >
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PingPong</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="Css/style.css" type="text/css">
<link rel="font" type="text/css" href="//fonts.googleapis.com/css?family=Lobster">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div class="container-fluid" style="padding-top:0;" >
<div class="page-header">
<h1 class="text" style="font-family:lobster; font-style:italic;">PingPong</h1>
</div>
</div>
<div class="introduction">
<h2>
<a href="" class="typewrite" data-period="4000" data-type='[ "Hello Citizens, I am PingPong have fun playing me.", "I love to Develop.", "Hope you enjoy playing PingPong." ]'>
<span class="wrap"></span>
</a>
</h2>
</div>
<div class="row">
<div class="col-md-3">
<ul class="nav navbar sidebar text-center" style="background-color:#ede; height:100%">
<li style="border-bottom:1px solid #fff;" id="showme"><a href="#">About</a></li>
<li style="border-bottom:1px solid #fff;" id="display"><a href="#">Instructions</a></li>
</ul>
</div>
<div style="background-color:#ede; padding:10px;" class="" id="hidden">
<h1 style="text-decoration:underline;">About</h1>
<p>PingPong is a simple game that tests divisibility of numbers.When a user inputs a number, it gives out the expected output
The results are displayed repeatedly.The goal of the game is to replace numbers divisible by 3, 5 and 15 using either a ping,pong or pingpong
</p>
</div><br>
</div>
<div style="background-color:#ede; padding:10px;" class="" id="Thidden">
<h1 style="text-decoration:underline;">Instructions</h1>
<p>
Input any <strong>number</strong> eg 5.The number should be able to diplay the following results.
<ul>
<li>Ping if the number is divisible by 3</li>
<li>Pong if the number is divisble by 5</li>
<li>Pingpong if the number is divisible by 15</li>
</ul>
</p>
</div><br>
</div>
<form class="form-horizontal" id="myform" onsubmit="return false;">
<div style="margin-left:25%">
<div class="container">
<div class="form-group">
<div class="col-sm-8">
<input type="number" class="form-control" id="mynumber">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-8">
<a href="#inputnumber" target=".form-control">
<button type="submit" id="submit" class="btn btn-default button" style="vertical-align:left;"><span class="cliackable">PLAY ME</span></button>
</a>
<ul id="list">
</ul>
</div>
</div>
</div>
</div>
</form>
<!--this will be my footer section-->
<footer class="my-footer">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="text">
<p>Share your scores online with friends</p>
<div class="social-media">
<ul class="list-inline banner-social-button">
<li>
<a href="https://www.facebook.com" class="fa fa-facebook" data-toggle="tooltip" title="facebook" target="_blank"></a>
</li>
<li>
<a href="https://www.twitter.com" class="fa fa-twitter" data-toggle="tooltip" title="twitter" target="_blank"></a>
</li>
<li>
<a href="https://www.snapchat.com" class="fa fa-snapchat" data-toggle="tooltip" title="snapchat" target="_blank"></a>
</li>
<li>
<a href="https://www.instagram.com" class="fa fa-instagram" data-toggle="tooltip" title="instagram" target="_blank"></a>
</li>
</ul>
</div>
</div>
</div>
<div class="container copyyright">
<div class="row">
<div class="col-sm-6">
<p>Copyright © 2017. MIlla Tevin.</p>
</div>
</div>
</div>
</div>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.5/umd/popper.js"></script>
<script src="Js/script.js"></script>
</body>
</html>