forked from guptavaibhav159/HacktoberFest2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
174 lines (156 loc) · 7 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
<!DOCTYPE html>
<html>
<head>
<title>Hacktoberfest-2020</title>
<link rel="icon" href="images/HF20_logo.png" type="image/x-icon" />
<meta
name="viewport"
content="width=device-width,initial-scale=1,user-scalable=yes"
/>
<link rel="stylesheet" href="https://cdn.statically.io/gh/shahednasser/sbuttons/c135f5f7/dist/sbuttons.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link
rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/>
<link
rel="stylesheet" href="style.css"/>
</head>
<body >
<div class="main">
<div>
<a href="https://rakshit234.github.io/HacktoberFest2020/">
<img
src="images/hackfest20.svg"
alt="logo"
class="center"
/>
</a>
</div>
<div>
<p id="t1">Hacktoberfest'20 ends in..</p>
<p id="demo"></p>
<p id="p1">
<script>
// Set the date we're counting down to
var countDownDate = new Date("Oct 31, 2020 23:59:59").getTime();
// Update the count down every 1 second
var x = setInterval(function () {
// Get today's date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor(
(distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)
);
var minutes = Math.floor(
(distance % (1000 * 60 * 60)) / (1000 * 60)
);
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
// Output the result in an element with id="demo"
document.getElementById("demo").innerHTML =
"<b>" +
days +
"</b>" +
"d " +
"<b>" +
hours +
"</b>" +
"h " +
"<b>" +
minutes +
"</b>" +
"m " +
"<b>" +
seconds +
"</b>" +
"s ";
// If the count down is over, write some text
if (distance < 0) {
clearInterval(x);
document.getElementById("demo").innerHTML = "EXPIRED";
}
}, 1000);
</script>
</p>
<center><div
id="div1"
class="fa"
style="font-size:87px;color:white";text-shadow: 1px 1px 2px #9c4768, 0 0 25px #84b5d4, 0 0 5px #f78ee0;>
</center>
</div>
<script>
function hourglass()
{
var a;
a = document.getElementById("div1");
a.innerHTML = "";
setTimeout(function ()
{
a.innerHTML = "";
}, 1000);
setTimeout(function ()
{
a.innerHTML = "";
}, 2000);
}
hourglass();
setInterval(hourglass, 3000);
</script>
<br>
<br>
<div class="container">
<div class="row">
<div class="col-3"></div>
<div class="col-6 text-center"><h2 style="background:none;"><span style="font-size:46px;color:#58cced;font-family:-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;text-transform:capitalize;box-shadow:white 0px 0px 20px;padding:10px;border-radius:6px"> Win a free shirt by contributing as instructed:</span>
<br>
<br>
<span style="font-size:30px;color:#d7beee;font-family:Arial;text-transform:capitalize;"> "Click the t-shirt to get one"
</span>
</h2></div>
<div class="col-3"></div>
</div>
</div>
<h1 style="color: rgb(151, 201, 216);font-style: italic;margin-left: 80px;margin-top: 70px;">Steps to be followed</h1><br><br>
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="list-style">
<li id="list">
<ul> <a href="https://hacktoberfest.digitalocean.com/" target="_blank"> 1. Login on Hacktoberfest website using your Github account </a></ul>
<ul> <a href="https://github.com/search?q=hacktoberfest" target="_blank"> 2. Edit any 4 repositories on Github by forking, cloning on your account and make Pull request</a></ul>
<ul> <a href="https://hacktoberfest.digitalocean.com/profile" target="_blank"> 3. Check status of your pull request on Hactoberfest official portal</a></ul>
<ul> 4. Once all your 4 pull requests are verified you will be eligible for Free T-shirt</ul>
</li>
</div>
</div>
<div class="col-md-6">
<img
src="images/tshirt.png"
alt="Hacktoberfest T-shirt"
class="image"
style="display: block; margin-left: auto; margin-right: auto; width : 90%; "
/>
</div>
</div>
</div>
<a href="https://hacktoberfest.digitalocean.com/" target="_blank">
<!-- </div> -->
<br />
<div style="text-align: center; margin-top: 40px;">
<!-- <button class="btn" > -->
<a href="https://github.com/rakshit234/HacktoberFest2020" target="_blank" class="btn">Link to code</a>
<!-- </button> -->
<br><br>
<button class="sbtn social-btn github" >
<a href="https://github.com/rakshit234" target="_blank" style="font-size: 20px; text-align: center; justify-content: center; text-decoration: none; color:white; align-items: center; align-content: center;">Link to Contributor's Profile</a>
</button>
</div>
<!-- </div> -->
<footer id="foot">
<h4 style="text-align:center; color:white;"> © 2020 DigitalOcean, LLC. All rights reserved.</h4>
<h4 style="text-align:center; color:white;"> ---- Visitor's count ----</h4>
<!-- Badge Code - Do Not Change The Code --><div class="col-xs-12 mt20" id="bg"><div style="margin:0px auto;width:133px;background:rgb(43, 76, 124);text-align:left;display:flex;border-radius:5px"><span style="padding:7px;display:inline-block;border-right:1px solid #746dba"><a href="http://visitorshitcounter.com" rel="nofollow noopener" target="_blank" title="https://visitorshitcounter.com/"><img src="https://visitorshitcounter.com/img/s-logo.svg" alt="https://visitorshitcounter.com/" style="width:100%;border:none;float:left"></a></span><span class="text" id="dupli_hit_counter" style="padding:10px 0 0 0;display:inline-block;color:#ffffff;width:100%;text-align:center;"></span></span><input type="hidden" id="site_val" value="https://visitorshitcounter.com/counterDisplay?code=c1cf1d3bf248cd36b19d93ec8a2e938a&style=0017&pad=5&type=page&initCount=1"></div></div><script src="https://visitorshitcounter.com/js/badgess.js?v=1601553115"></script><!-- Badge Code End Here -->
</footer>
</body>
</html>