-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
139 lines (127 loc) · 6.77 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html>
<head lang="en">
<title>Zodiac Machine</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
</head>
<body id="background">
<link rel="stylesheet" href="css/custom.css">
<!-- ========
CARD 1
==========-->
<div class="jumbotron jumbotron-fluid text-white text-center mb-0">
<h1 class="display-3">Zodiac Machine</h1>
<p class="lead mt-3 pt-3">find your sun sign today!</p>
</div>
<!-- ===================
ENTER DATE OF BIRTH
========================-->
<h2 class="card-title text-white text-center pt-3 pb-0">Enter your date of birth below</h2>
<form class="text-white form-row col-sm-5 col-md-4 col-lg-3 mx-auto pt-4 pb-4">
<div class="mx-auto pr-1">
<label class="h5" for="month">Month</label>
<div>
<select class="col-12 btn bg-white text-dark" name="month" id="birthmonth">
<option value="X">Month</option>
<option value="1">January</option>
<option value="2">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>
</div>
</div>
<div class="mx-auto pl-1">
<label class="h5" for="day">Day</label>
<div>
<select class="col-12 btn bg-white text-dark" name="day" id="birthday">
<option value="X">Day</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
</div>
</div>
</form>
<!-- ===================
BUTTON
========================-->
<div class="text-center my-0 py-5" id="userinfo">
<button onclick="signs()" id="button" class="btn btn-primary btn-lg active" role="button" data-toggle="button" aria-pressed="true">What's My Sign?</button>
</div>
<!-- =============
SUN SIGNS
=================-->
<div class="text-white text-center py-4">
<h3 id="userBirthday"></h3>
</div>
<div class="container mx-auto text-center">
<img class="pic card-img img-fluid" id="symbol" alt="Responsive image">
</div>
<div class="text-white text-center py-4">
<h4 id="userSign"></h4>
</div>
<div class="text-white text-center py-4 mb-4">
<p class="font-weight-light" id="daily-horoscope"></p>
</div>
<!-- ===========================================
FOOTER
============================================== -->
<footer class="footer">
<div class="container">
<p>
This is a Code Louisville project created by Chanel Brown. Zodiac images courtesy of <a href="https://medialoot.com/item/zodiac-sign-icons/">Medialoot</a>.
</p>
<p>
© 2018
</p>
</div>
</footer>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
<script src="js/custom3.js"></script>
</body>
</html>