-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.html
95 lines (78 loc) · 3.13 KB
/
project.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<style>
body{
background-color: #fb7da8;
}
@keyframes appear {
from {
opacity: 0;
transform: scale(0.5);
}
to {
opacity: 1;
transform: scale(1);
}
}
.block {
opacity: 0; /* Initial state */
animation: appear 1s ease forwards; /* Add a duration */
}
</style>
<body class="bg-theme">
<nav>
<div class="logo">
<a href="index.html"><h5 class="logo-h5">Shii</h5></a>
</div>
<div class="nav-list">
<!-- updated start here -->
<ul id="menuList">
<li class="page1-li"><a href="index.html">Home</a></li>
<li class="page1-li"><a href="aboutme.html">About me</a></li>
<li class="page1-li"><a href="project.html">Project</a></li>
<li class="page1-li"><a href="contact.html">Contact</a></li>
<li class="page1-li"><button class="page1-button"><i class="fa-solid fa-moon icon"></i></button></li>
</ul>
<div class="menu-icon">
<i class="fa-solid fa-bars" onclick="toggleMenu()"></i>
</div>
<!-- update end here -->
</div>
</nav>
<div class="wrapper block">
<button class="strength-button"><h1 class="strength-h1">Some Projects</h1></button>
<button class="contact-btn"><i class="fa-solid fa-check arrow-icon"></i></button><span class="contact-span">Health/fitness tracker</span><br>
<button class="contact-btn"> <i class="fa-solid fa-check arrow-icon"></i></button><span class="contact-span">To Do List</span><br>
<button class="contact-btn"><i class="fa-solid fa-check arrow-icon"></i></button><span class="contact-span">Online learning System</span><br>
<button class="contact-btn"><i class="fa-solid fa-check arrow-icon"></i></button><span class="contact-span">Album Selling System</span>
</div>
<div class="wrapper-form-web-design block">
<button class="btnedu"><h1 class="strength-h1">Some Web Design</h1></button>
<img src="pj2.png" class="id2-img">
<img src="pj4.png" class="id2-img">
<img src="albumsellingpj.png" class="id2-img">
</div>
<script>
let menuList = document.getElementById("menuList")
menuList.style.maxHeight = "0px";
function toggleMenu(){
if(menuList.style.maxHeight == "0px")
{
menuList.style.maxHeight = "300px";
}
else{
menuList.style.maxHeight = "0px";
}
}
</script>
<script src="https://kit.fontawesome.com/f8e1a90484.js" crossorigin="anonymous"></script>
<script src="script.js"></script>
</body>
</html>