-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodegolf.html
237 lines (210 loc) · 5.8 KB
/
codegolf.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Code Golf (Minimize Code Size)</title>
<style>
body{
background-size: cover;
background-image: url(Image/65e3370906a73a0b23663ef7e2780078.jpg);
}
nav {
background-color: #444;
padding: 10px;
position: relative;
}
nav a {
color: #fff;
text-decoration: none;
display: block;
padding: 10px 20px;
border-radius: 5px;
margin-bottom: 5px;
}
#menuToggle {
color: #333;
padding: 10px;
margin: 10px;
cursor: pointer;
}
#menuItems {
display: none;
color: #333;
}
#menuItems.active {
display: flex;
flex-direction: column;
}
h2.rule{
font-size: 2.5em;
margin: 20px 0;
align-items: center;
}
h3.Teacher{
display: flex;
justify-content: center;
font-size: 1.8em;
margin: 20px 0;
align-items: center;
}
h3.Student{
font-size: 1.8em;
margin: 20px 0;
align-items: center;
display: flex;
justify-content: center;
}
button.Register {
background-color: #007bff;
color: #fff;
font-size: 1em;
padding: 20px 50px;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button.Register:hover{
background-color: #0056b3;;
}
.Register a{
text-decoration: none;
color:#fff;
}
.name-container {
max-width: 900px;
margin: 0 auto;
padding: 5px;
}
.name {
font-size: 24px;
margin-bottom: 10px;
display: flex;
justify-content:space-between ;
}
.contact-number {
font-size: 20px;
margin-bottom: 10px;
}
.Event {
background-color: #fff;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
margin: 20px auto;
max-width: 400px;
}
.Event p {
margin-bottom: 10px;
}
.Event span {
font-weight: bold;
}
@media screen and (max-width:600px){
h3.Student{
font-size: 1.5em;
}
nav {
flex-direction: column;
}
nav a {
margin-bottom: 5px;
}
.name, .contact-number {
font-size: 16px;
}
h3.Teacher {
font-size: 1.5em;
}
h2.rule {
font-size: 2.3em;
}
.Event {
max-width: 100%;
}
}
</style>
</head>
<body>
<p><a href="home.html"></a></p>
<p><a href="competition.html"></a></p>
<nav>
<button id="menuToggle">☰ Menu</button>
<div id="menuItems">
<a href="home.html">HOME</a>
<a href="competition.html">COMPETITION</a>
<a href="result.html">RESULT</a>
<a href="ContactUs.html">CONTACT US</a>
<a href="ScheduleEvent.html">SCHEDULE</a>
</div>
</nav>
<!-- <h2 class="rule">Rule & Regulation</h2>
<p>1. The event is open to all participants from the college.</p>
<p> 2. Participants can be beginners or individuals with basic knowledge of HTML and CSS.</p>
<p> 3. The event is individual based; each participant competes independently.</p>
<p> 4. Each participant must have a personal laptop for the event. </p>
<p> 5. Visual Studio Code (VS Code) is the recommended code editor; participants are required to have it installed on their laptops.</p>
<p> 6. Mobile devices will not be allowed for code submission.</p>
<p> 7. Preliminary rounds will be conducted before 9th February.</p>
<p> 8. Challenges will cover various CSS properties and their applications.</p>
<p> 9. Emphasis will be on learning, and detailed descriptions will be provided to enhance participants' understanding.</p>
<p> 10. All code submissions must be made within the specified time limit.
</p>
<h4>About The Events</h4>
<p>Preliminary rounds:
<p>• Before every round, a detailed description of the challenge will be provided to ensure that beginners can learn and grasp the concepts.</p>
<p>• Participants will be provided with HTML files, and they need to modify the CSS to achieve the specified outcomes.</p>
<p>• A set number of participants with the best solutions will advance to the final round.
</p>
<p>Finals:</p>
<p>• Finalists will compete in a series of 1v1 challenges.</p>
<p>• Each finalist will be given a unique challenge to solve within a time limit.</p>
<p>• Before each final round, a description will be given to guide participants in their approach.</p>
-->
<hr>
<h3 class="Teacher">Teacher coordinator</h3>
<div class="name-container">
<div class="name">
<span> Rashmita Sahoo</span>
<!-- <span>+918144465256
</span> -->
<span>Rashmita badayat</span>
</div>
</div>
<hr>
<!-- <h3 class="Student">student coordinator</h3>
<div class="name-container">
<div class="name">
<span>Ashish Kumar Swain
</span>
<span>+918789669053
</span>
</div>
<div class="name">
<span>Max Gabriel
</span>
<span>+918847837650
</span>
</div>
</div> -->
<hr>
<!-- <div class="Event">
<p>Event Category:- <span>Technical Event
</span> </p>
<p>Event Type:- <span>Individual
</span> </p>
<p>venu:- <span>Room No-2.06&2.07
</span> </p>
<p>Date:- <span>09-02-2024
</span> </p>
</div> -->
<button class="Register"><a href="https://forms.gle/o1pcxqyQE5Mfk4m16">Register</a></button>
<script>
document.getElementById('menuToggle').addEventListener('click', function() {
console.log('Menu toggle clicked');
document.getElementById('menuItems').classList.toggle('active');
});
</script>
</body>
</html>