-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
75 lines (65 loc) · 2.58 KB
/
index.html
File metadata and controls
75 lines (65 loc) · 2.58 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/navbar.css">
<title>SpaceX Home</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"/>
</head>
<body>
<div class="bgimage">
<!-- <div class="overlay"> -->
<nav>
<input type="checkbox" id="check">
<label for="check" class="checkbtn">
<i class="fas fa-bars"></i>
</label>
<label class="logo">
<img src="./images/logo.png" height="100px" alt="SpaceX">
</label>
<ul>
<li><a class="active" href="#">Home</a></li>
<li><a href="/founder.html">Founder</a></li>
<li><a href="/projects.html">Projects</a></li>
<li><a href="/gallery.html">Gallery</a></li>
</ul>
</nav>
<!-- </div> -->
<div class="header1">
<h1>
<span>S</span>
<span>P</span>
<span>A</span>
<span>C</span>
<span>E</span>
<span>X</span>
</h1>
</div>
<div class="subtitles">
<span>Reaching Beyond Earth, Together.</span>
</div>
</div>
<footer class="footer">
<p>© Developed By <a href="https://www.linkedin.com/in/thirumalesh-satyanarayanan-663236279/" target="_blank">THIRUMALESH SATYANARAYANAN</a></p>
</footer>
<script>
const checkBtn = document.querySelector('.checkbtn');
const subtitles = document.querySelector('.subtitles');
const title = document.querySelector(".header1");
// Add an event listener to the checkBtn
checkBtn.addEventListener('click', () => {
if (subtitles.style.display === 'none' && title.style.display === 'none') {
subtitles.style.display = 'block';
title.style.display = 'block';
} else {
subtitles.style.display = 'none';
title.style.display = 'none';
}
});
</script>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct" crossorigin="anonymous"></script>
</body>
</html>