forked from ML-Fusion-Lab/ML-Fusion-Lab-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
intr-to-ml.html
264 lines (248 loc) · 8.2 KB
/
intr-to-ml.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Introduction to Machine Learning</title>
<link rel="stylesheet" href="style.css">
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
display: flex;
flex-direction: column;
min-height: 100vh; /* Ensure body takes full height */
}
header {
background: #333;
color: white;
padding: 15px 0;
}
header nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}
header nav .logo h1 {
margin: 0;
}
header nav ul {
list-style: none;
display: flex;
margin: 0;
padding: 0;
}
header nav ul li {
margin-left: 20px;
}
header nav ul li a {
color: white;
text-decoration: none;
}
section {
padding: 50px 20px;
max-width: 800px;
margin: auto;
background: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
flex: 1; /* Allow the section to grow and push the footer down */
}
section h2 {
margin-bottom: 20px;
}
footer {
background: #333;
color: white;
text-align: center;
padding: 20px 0;
margin-top: 20px;
}
.footer-container {
max-width: 800px;
margin: auto;
padding: 0 20px;
}
.footer-links, .footer-socials {
margin: 10px 0;
}
.footer-links a, .footer-socials a {
color: white;
text-decoration: none;
margin: 0 10px;
transition: color 0.3s; /* Add transition for hover effect */
}
.footer-links a:hover, .footer-socials a:hover {
color: #007BFF; /* Change color on hover */
}
.footer-contact {
margin: 10px 0;
}
.hidden {
display: none;
}
.btn {
display: inline-block;
padding: 10px 15px;
background-color: #007BFF;
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
margin-top: 20px;
}
.btn:hover {
background-color: #0056b3;
}
/* css for mouse cursor trail effect */
.circle {
position: absolute;
width: 25px;
height: 25px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle, rgba(70, 130, 180, 0.3),skyblue, rgba(0, 0, 50, 0.3),white);
transition: transform 0.1s, left 0.1s, top 0.1s;
}
.circle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999; /* removed the non-breaking space ( ) */
}
</style>
</head>
<body>
<header >
<div id="progress-container">
<div id="progress-bar"></div>
</div>
<nav>
<div class="logo">
<h1><img src="ml fusion lab log.jpg" alt="logo" width="100" height="100"/></h1>
</div>
<div class="hamburger" id="hamburger">☰</div>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="courses.html">Courses</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="Testimonial.html">Testimonial</a></li>
</ul>
</nav>
</header>
<!-- html for mouse cursor trail effect -->
<div class="circle-container">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
<section>
<h2>Introduction to Machine Learning</h2>
<p>Welcome to the Introduction to Machine Learning course. This course covers the basic concepts of machine learning, including types of ML and key algorithms.</p>
<p class="hidden" id="details">By the end of this course, you will have a solid foundation in machine learning and be prepared to tackle more advanced topics. This includes practical applications and hands-on projects that enhance your learning experience.</p>
<a href="#" class="btn" onclick="showDetails();changeLearnMore(this)">Learn More</a>
</section>
<footer>
<div class="footer-container">
<div class="footer-socials">
Follow us on:
<a href="https://facebook.com" target="_blank">Facebook</a> |
<a href="https://twitter.com" target="_blank">Twitter</a> |
<a href="https://linkedin.com" target="_blank">LinkedIn</a>
</div>
<div class="footer-contact">
<p>Contact us: <a href="mailto:[email protected]" style="color: white;">[email protected]</a> | Phone: +1 (555) 123-4567</p>
</div>
<div class="footer-links">
<a href="privacy.html">Privacy Policy</a> |
<a href="terms.html">Terms of Service</a> |
<a href="about.html">About Us</a> |
<a href="contact.html">Contact</a>
</div>
<p>© 2024 ML Fusion Labs | All Rights Reserved</p>
</div>
</footer>
<script>
function showDetails() {
const details = document.getElementById('details');
details.classList.toggle('hidden');
}
function changeLearnMore(button)
{
const details = document.getElementById('details');
if(details.classList.contains('hidden')) {
button.innerHTML = "Learn More";
}
else {
button.innerHTML = "Learn Less";
}
}
</script>
<!-- js for mouse cursor trail effect -->
<script>
document.addEventListener("DOMContentLoaded", function () {
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
circles.forEach(function (circle) {
circle.x = 0;
circle.y = 0;
});
window.addEventListener("mousemove", function (e) {
coords.x = e.pageX;
coords.y = e.pageY - window.scrollY; // Adjust for vertical scroll position
});
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.style.left = `${x - 12}px`;
circle.style.top = `${y - 12}px`;
circle.style.transform = `scale(${(circles.length - index) / circles.length})`;
const nextCircle = circles[index + 1] || circles[0];
circle.x = x;
circle.y = y;
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
});
</script>
</body>
</html>