-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.html
46 lines (37 loc) · 1.47 KB
/
header.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
<!-- this is header file -->
<header>
<nav class="navbar">
<div class="logo">LinkTube</div>
<ul class="nav-links">
<li><a href="index.html" onclick="loadPage('index.html')">Home</a></li>
<!-- <li><a href="#">About</a></li> -->
<li><a href="feedback.html">feedback</a></li>
<!-- <li><a href="#">Contact</a></li> -->
</ul>
<div class="menu-toggle">☰</div>
</nav>
<script>
// Toggle the navigation menu on small screens
const menuToggle = document.querySelector('.menu-toggle');
const navLinks = document.querySelector('.nav-links');
menuToggle.addEventListener('click', () => {
navLinks.classList.toggle('show');
});
</script>
<div class="scrollmenu">
<a href="ai.html">AI</a>
<a href="c.html">C & C++</a>
<a href="coa.html">COA</a>
<a href="cn.html">CN</a>
<a href="dsa.html">DSA</a>
<a href="dbms.html">DBMS</a>
<a href="os.html">OS</a>
<a href="python.html">PYTHON</a>
<a href="webdevelopment.html">WEB DEVELOPMENT</a>
<a href="dataScience.html">DATA SCIENCE</a>
<a href="machineLearning.html">MACHINE LEARNING</a>
<a href="neuralNetworks.html">NEURAL NETWORKS</a>
<a href="java.html">JAVA</a>
<a href="javascript.html">JAVASCRIPT</a>
</div>
</header>