-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
143 lines (131 loc) · 4.03 KB
/
index.html
File metadata and controls
143 lines (131 loc) · 4.03 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Digital Electronics Learning Hub</title>
<style>
body {
display: flex;
flex-direction: column;
align-items: center;
padding: 2rem;
margin: 0;
background-color: #f4f4f4;
font-family: 'Arial', sans-serif;
overflow: hidden;
}
.landing-container {
display: flex;
justify-content: space-around;
width: 80%;
flex-direction: row;
flex-wrap: wrap;
overflow: hidden;
}
.card {
background-color: white;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
width: 40%;
margin: 1.5rem;
text-align: center;
transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
transform: scale(1.05);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.card-header {
padding: 1rem;
background-color: #000;
color: white;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
.card-title {
font-size: 1.5rem;
color: #fff;
}
.card-content {
padding: 1rem;
}
button {
width: 80%;
padding: 0.5rem;
background-color: #000;
color: white;
border: none;
border-radius: 4px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.2s, transform 0.2s;
margin: 1rem 0;
}
button:hover {
background-color: #0f0f0f;
transform: scale(1.05);
}
h1 {
text-align: center;
width: 100%;
margin-bottom: 2rem;
color: #333;
}
@media (max-width: 768px) {
body {
overflow-y: auto;
height: auto;
}
.landing-container {
width: 90%;
}
.card {
width: 90%;
margin: 0.5rem auto;
}
}
</style>
</head>
<body>
<h1>Digital Electronics Learning Hub</h1>
<div class="landing-container">
<div class="card">
<div class="card-header">
<h2 class="card-title">Logic Gates</h2>
</div>
<div class="card-content">
<p>Learn about different types of logic gates and their functions.</p>
<button onclick="window.location.href='logic-gates.html'">Go to Logic Gates</button>
</div>
</div>
<div class="card">
<div class="card-header">
<h2 class="card-title">Number System</h2>
</div>
<div class="card-content">
<p>Explore various number systems and their conversions.</p>
<button onclick="window.location.href='number-system.html'">Go to Number System</button>
</div>
</div>
<div class="card">
<div class="card-header">
<h2 class="card-title">Binary Counter</h2>
</div>
<div class="card-content">
<p>Understand how binary counters work and their applications.</p>
<button onclick="window.location.href='counter.html'">Go to Binary Counter</button>
</div>
</div>
<div class="card">
<div class="card-header">
<h2 class="card-title">Truth Table</h2>
</div>
<div class="card-content">
<p>Generate truth tables for boolean expressions.</p>
<button onclick="window.location.href='truth-table.html'">Go to Truth Table</button>
</div>
</div>
</div>
</body>
</html>