-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskill.html
176 lines (144 loc) · 4.71 KB
/
skill.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Skill page</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 */
}
.progress-container {
width: 100%;
max-width: 350px;
margin: 20px auto;
padding: 10px;
height:450px;
}
.progress-header {
font-size: 16px;
font-weight: bold;
margin-bottom: 5px;
}
.progress-bar-wrapper {
background-color: #e0e0e0;
border-radius: 8px;
overflow: hidden;
margin-bottom: 20px;
height: 24px;
}
.progress-bar {
height: 100%;
border-radius: 8px;
text-align: center;
color: #fff;
font-weight: bold;
padding: 2px;
}
.progress-bar-web-dev {
background-color: black;
width: 60%;
}
.progress-bar-react {
background-color: black;
width: 48%;
}
.progress-bar-figma {
background-color: black;
width: 70%;
}
.progress-bar-typescript {
background-color: black;
width: 30%;
}
.progress-bar-js {
background-color: black;
width: 65%;
}
.progress-bar-nodejs {
background-color: black;
width: 53%;
}
</style>
<body class="bg-theme">
<nav>
<div class="logo">
<a href="index.html"> <button class="page2-button"><i class="fa-solid fa-arrow-left arrow-icon"></i></button></a>
</div>
<div class="nav-list">
<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>
</div>
</nav>
<div class="pj-wrapper block">
<button class="pj-list-btn">Skill progress bar</button>
</div>
<div class="progress-container block">
<div class="progress-header">Web development</div>
<div class="progress-bar-wrapper">
<div class="progress-bar progress-bar-web-dev block">60%</div>
</div>
<div class="progress-header">ReactJS || ReactNative</div>
<div class="progress-bar-wrapper">
<div class="progress-bar progress-bar-react block">48%</div>
</div>
<div class="progress-header">Figma</div>
<div class="progress-bar-wrapper">
<div class="progress-bar progress-bar-figma block">70%</div>
</div>
<div class="progress-header">Typescript</div>
<div class="progress-bar-wrapper">
<div class="progress-bar progress-bar-typescript block">30%</div>
</div>
<div class="progress-header">JavaScript</div>
<div class="progress-bar-wrapper">
<div class="progress-bar progress-bar-js block">65%</div>
</div>
<div class="progress-header">Node.js(Express)</div>
<div class="progress-bar-wrapper">
<div class="progress-bar progress-bar-nodejs block">53%</div>
</div>
</div>
<img src="powerpuffskill Background Removed.png" class="skill-img">
<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>