-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDSA.html
123 lines (109 loc) · 2.6 KB
/
DSA.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Punjab Engineering College - DSA</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #121212; /* Dark background color */
color: #ffffff; /* White text color */
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background-color: #1e1e1e; /* Dark container background color */
padding: 40px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
max-width: 600px;
width: 90%;
text-align: center;
animation: fadeIn 1s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
h1 {
margin-bottom: 20px;
font-size: 32px;
}
h2 {
margin-bottom: 40px;
font-size: 24px;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th,
td {
padding: 10px;
text-align: left;
border-bottom: 1px solid #ffffff;
}
th {
background-color: #3f51b5; /* Header background color */
}
tr:nth-child(even) {
background-color: #1e1e1e; /* Even rows background color */
}
tr:nth-child(odd) {
background-color: #424242; /* Odd rows background color */
}
button {
background-color: #3f51b5; /* Change button color if desired */
color: #ffffff; /* White text color */
border: none;
border-radius: 4px;
padding: 10px 20px;
font-size: 16px;
margin: 10px;
width: 180px;
transition: background-color 0.3s ease;
animation: slideIn 1s ease;
}
button:hover {
background-color: #1a237e; /* Change button hover color if desired */
}
</style>
</head>
<body>
<div class="container">
<h1>Welcome to Punjab Engineering College</h1>
<p id="greeting">Hi, <span id="studentName"></span></p>
<div class="subject">
<h2>Data Structures and Algorithms</h2>
<table>
<tr>
<th>Subject</th>
<th>Total Lectures</th>
<th>Lectures Completed</th>
<th>Lectures Attended</th>
<th>Lectures Pending</th>
<th>Current Attendance</th>
</tr>
<tr>
<td>DSA</td>
<td>50</td>
<td>45</td>
<td>40</td>
<td>5</td>
<td>80%</td>
</tr>
</table>
</div>
</div>
</body>
</html>