-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
205 lines (199 loc) · 6.95 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="google-site-verification"
content="Jv--UBpg4BBy5PIFRAEHx1Tf0WFk0YmhNBXXGFzWoqI"
/>
<title>Love Calculator</title>
<meta property="og:locale" content="en_US" />
<meta name="description" content="Love Calculator" />
<link
rel="canonical"
href="https://itsme-subid.github.io/Love-Calculator/"
/>
<meta
name="twitter:card"
content="A Love Calculator using pure JS, CSS and HTML"
/>
<meta property="twitter:title" content="Love Calculator" />
<meta
name="msapplication-TileImage"
content="https://itsme-subid.github.io/Love-Calculator/assets/preview.png"
/>
<meta property="og:site_name" content="Love-Calculator" />
<meta property="og:title" content="Love Calculator" />
<meta
property="og:description"
content="Love Calculator shows accurate result using horoscopic parameters"
/>
<meta property="og:image" itemprop="image" content="assets/preview.png" />
<meta property="og:type" content="website" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="300" />
<meta property="og:image:height" content="300" />
<meta
property="og:url"
content="https://itsme-subid.github.io/Love-Calculator/"
/>
<link rel="shortcut icon" href="./love.png" type="image/x-icon" />
<link rel="stylesheet" href="./assets/style.css" />
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./assets/custom-style.css" />
</head>
<body
class="container text-[#0f172a] bg-[#e2e8f0] flex items-center justify-center flex-col mb-6"
>
<section class="my-6">
<div class="text-2xl text-center font-bold">Find Love % Between</div>
</section>
<div class="calculator-wrapper w-full">
<form class="rounded p-3 font-semibold mb-6" id="my-form">
<div class="calculator-body">
<div>
<div class="first">
<div class="form-group">
<label class="control-label col-form-label" for="fin_person1"
>Your Name</label
>
<div class="controls">
<input
type="text"
name="user_name"
id="fin_person1"
class="form-control rounded-lg bg-transparent py-2 px-3"
placeholder="Enter Your Name"
pattern="[A-Za-z ]{3,}"
title="Please enter at least 3 characters and only alphabets"
required
/>
</div>
</div>
<div class="form-group" title="Enter Your gender">
<div class="controls flex flex-row mt-2">
<div class="radio">
<label
><input
type="radio"
name="user_gender"
value="male"
class="form-check-input"
checked
/><span> </span>Male</label
>
</div>
<div class="radio mx-2">
<label
><input
type="radio"
name="user_gender"
class="form-check-input"
value="female"
/><span> </span>Female</label
>
</div>
</div>
</div>
</div>
<span class="separator"> </span>
<div class="second">
<div class="form-group">
<label class="control-label col-form-label" for="fin_person2"
>Partner's Name</label
>
<div class="controls">
<input
type="text"
name="partner_name"
id="fin_person2"
class="form-control rounded-lg bg-transparent py-2 px-3"
placeholder="Enter Partner's Name"
pattern="[A-Za-z ]{3,}"
title="Please enter at least 3 characters and only alphabets"
required
/>
</div>
</div>
<div class="form-group" title="Enter Partner's gender">
<div class="controls flex flex-row mb-6 mt-2">
<div class="radio">
<label
><input
type="radio"
name="partner_gender"
class="form-check-input"
value="male"
/><span> </span>Male</label
>
</div>
<div class="radio mx-2">
<label
><input
type="radio"
name="partner_gender"
value="female"
class="form-check-input"
checked
/><span> </span>Female</label
>
</div>
</div>
</div>
</div>
</div>
</div>
<button
type="submit"
class="bg-[#f60057] px-4 py-2 font-bold rounded-lg text-white"
title="Click to Calculate"
>
Calculate Love %
</button>
</form>
<div class="text-xs text-center text-black-60">
<p class="font-semibold">
Enter your name and your lover's name and hit 'Calculate'.
</p>
</div>
</div>
<div class="percentage hidden">
<div id="result-heading"></div>
<div class="wrapper">
<div class="outer">
<div class="inner">
<div id="number"></div>
</div>
</div>
<svg
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="160px"
height="160px"
>
<defs>
<linearGradient id="GradientColor">
<stop offset="0%" stop-color="#e91e63" />
<stop offset="100%" stop-color="#673ab7" />
</linearGradient>
</defs>
<circle
class="graph circle transition animate"
cx="80"
cy="80"
r="70"
stroke-linecap="round"
/>
</svg>
</div>
</div>
<script type="module" src="assets/script.js"></script>
</body>
</html>