-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcodeevent.html
282 lines (248 loc) · 14.2 KB
/
codeevent.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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"/>
<link rel="shortcut icon" href="img/calender.png">
<title>Programming Calender</title>
<style>
body{
background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcRiof4jHxBIdJMD_ElCsNIs7DnrGgFSG7g739XlJ1eq2t75G1aP");
background-attachment: fixed;
}
.h5{
color:red;
}
#h6{
color:blue;
}
/* .card{
background-color:teal;
} */
.card-body:hover{
margin: 1%;
border: tomato;
background-color: lightgoldenrodyellow;
}
/* .back{
background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcS8Svwev6amR8z_buKZOlSt-L09YZJWLb7QJZr05n7XNq0X9lrS " ) ,;
} */
</style>
</head>
<body onload = "fetchallsamplecard()">
<div class="container">
<div class="jumbotron">
<h1>Hello, coders!</h1>
<p class="lead">
This is a smart web app that provides information about all the
upcoming/ongoing coding challenges held on various platforms. The
go-to web-app for an enthusiastic coder!!!
</p>
<!-- input bar -->
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="codeforces:handle_name"/>
<div class="input-group-append">
<button class="btn btn-outline-secondary" type="button" id="fake-button"> SUBMIT </button>
<button class="btn btn-outline-secondary" style = "display: none" button" id="real-button" data-toggle="modal" data-target="#exampleModalLong">abcd</button>
</div>
</div>
<!-- -->
<!-- Modal -->
<div class="modal fade" id="exampleModalLong" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle"><b>Codeforces ID Details</b>
<div id = "modal-title"></div></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="modal-body-code">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- sample carousal -->
<!-- <div id="carouselExampleCaptions" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleCaptions" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleCaptions" data-slide-to="1"></li>
<li data-target="#carouselExampleCaptions" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="https://technofall.com/wp-content/uploads/2016/07/CodeChef-logo-1024x724.jpeg" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>First slide label</h5>
<p>Nulla vitae elit libero, a pharetra augue mollis interdum.</p>
</div>
</div>
<div class="carousel-item">
<img src="..." class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>Second slide label</h5>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
</div>
<div class="carousel-item">
<img src="..." class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>Third slide label</h5>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur.</p>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleCaptions" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleCaptions" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div> -->
<!-- sample carousal -->
<!-- sample carousal -->
<div id="carouselExampleCaptions" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleCaptions" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleCaptions" data-slide-to="1"></li>
<li data-target="#carouselExampleCaptions" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<div class="card-deck">
<div class="card">
<a href="https://codeforces.com/">
<img class="card-img-top" src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQNVlFxJW_Zltw4RsbVGOYk8Vr9E3Io5Ie3BAL9o0Ezr9a1vRT5" alt="Card image cap">
</a>
<div class="card-body">
<h5 class="card-title text-warning">Code Forces</h5>
<p class="card-text" text-color="red">Codeforces is a website that hosts competitive programming contests.It is maintained by a group of competitive programmers from ITMO University..</p>
</div>
<div class="card-footer">
<small class="text-muted">Last updated 3 mins ago</small>
</div>
</div>
<div class="card">
<a href="https://www.codechef.com/">
<img class="card-img-top" src="https://cdn.dribbble.com/users/70628/screenshots/1743345/codechef.png">
</a>
<div class="card-body">
<h5 class="card-title text-warning">CodeChef</h5>
<p class="card-text">CodeChef is a competitive programming website. It is a non-profit educational initiative of Directi,aimed at providing a platform for students, young software professionals to practice, hone their programming skills through online contests.</p>
</div>
<div class="card-footer">
<small class="text-muted">Last updated 3 mins ago</small>
</div>
</div>
<div class="card">
<a href="https://www.topcoder.com/">
<img class="card-img-top" src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQTLA0WPPU-SHEVEnlTMvF2howRxx6AXWW-jdsAJpbpimFMo94h" alt="Card image cap">
</a>
<div class="card-body">
<h5 class="card-title text-warning">Top Coders</h5>
<p class="card-text">Topcoder (formerly TopCoder) is a crowdsourcing company with an open global community of designers, developers, data scientists, and competitive programmers.Topcoder pays community members for their work on the projects and sells community services to corporate, mid-size, and small-business clients.</p>
</div>
<div class="card-footer">
<small class="text-muted">Last updated 3 mins ago</small>
</div>
</div>
</div>
<!--<img src="https://technofall.com/wp-content/uploads/2016/07/CodeChef-logo-1024x724.jpeg" class="d-block w-100" alt="...">-->
<div class="carousel-caption d-none d-md-block">
<!--<h5>First slide label</h5>
<p>Nulla vitae elit libero, a pharetra augue mollis interdum.</p>-->
</div>
</div>
<div class="carousel-item">
<div class="card-deck">
<div class="card">
<a href="https://codingcompetitions.withgoogle.com/">
<img class="card-img-top" src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcTxl1OcsejbY51DldMO028X4sVyA_0goDS-uLJKVrCdZiRbMgdx" alt="Card image cap">
</a>
<div class="card-body">
<h5 class="card-title text-warning">Google's Coding Competition</h5>
<p class="card-text">Google Code Jam is an international programming competition hosted and administered by Google. The competition consists of a set of algorithmic problems which must be solved in a fixed amount of time..</p>
</div>
<div class="card-footer">
<small class="text-muted">Last updated 3 mins ago</small>
</div>
</div>
<div class="card">
<a href="https://www.hackerrank.com/">
<img class="card-img-top" src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcT2_E4V8E8YeFenQyCxfWNICCXy7IpoiQlfM5qXZxXVec7coH2u" alt="Card image cap">
</a>
<div class="card-body">
<h5 class="card-title text-warning">Hackerrank</h5>
<p class="card-text">HackerRank is a technology company that focuses on competitive programming challenges for both consumers and businesses.</p>
</div>
<div class="card-footer">
<small class="text-muted">Last updated 3 mins ago</small>
</div>
</div>
<div class="card">
<a href="https://www.hackerearth.com/">
<img class="card-img-top" src="https://cdn-wp.code-brew.com/wp-content/uploads/2018/06/SUCCESS-STORY-IN-FOCUS-1.jpg" alt="Card image cap">
</a>
<div class="card-body">
<h5 class="card-title text-warning">Hackerearth</h5>
<p class="card-text">HackerEarth provides enterprise software solutions that help organisations with their technical recruitment needs. HackerEarth has conducted 1000+ hackathons and 10,000+ programming challenges to date</p>
</div>
<div class="card-footer">
<small class="text-muted">Last updated 3 mins ago</small>
</div>
</div>
</div>
<!--<img src="..." class="d-block w-100" alt="...">-->
<div class="carousel-caption d-none d-md-block">
<!--<h5>Second slide label</h5>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>-->
</div>
</div>
<div class="carousel-item">
<img src="https://i1.wp.com/allhtaccess.info/wp-content/uploads/2018/03/programming.gif?fit=1281%2C716&ssl=1" class="d-block w-100" alt=".." height="500" width="500">
<div class="carousel-caption d-none d-md-block">
<h5 class="h5">KEEP CODING!!!</h5>
<!--<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur.</p>-->
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleCaptions" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleCaptions" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<!-- sample carousal -->
</div>
<div class="row">
</div><!---row div-->
<div class="jumbotron pd-0 mt-0 md-0 pd-0 pt-5">
<footer class="app-footer">
<div>
<a href="https://www.codeasylums.com/">CodeAsylums</a>
<span>© 2019 December.</span>
</div>
</footer>
</div>
</div>
<!-- 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.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<!-- -->
<script src = "codeevent.js"></script>
</body>
</html>