-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
429 lines (407 loc) · 14.8 KB
/
index.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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1, width=device-width" />
<link rel="stylesheet" href="./global.css" />
<link rel="stylesheet" href="./index.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&display=swap" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Raleway:wght@500&display=swap" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair Display:wght@700&display=swap" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" />
</head>
<body>
<div class="portfolio-simple-footer">
<div class="root">
<header class="header">
<b class="yizhuo-hu">Yizhuo Hu</b>
<nav class="nav">
<div class="tab-default">
<div class="sobre">About</div>
</div>
<div class="tab-default1" id="tabDefault1">
<div class="sobre1">Projects</div>
</div>
<div class="tab-default2">
<div class="sobre2">Contacts</div>
</div>
</nav>
</header>
<div class="frame-parent">
<div class="intro-wrapper">
<div class="intro">
<b class="ux-designer">UX Designer / FRONTEND DEVELOPER</b>
<div class="content">
<h1 class="title">Hello, my name is Yizhuo Hu</h1>
<div class="text">
"In every stroke of design and line of code, there lies the
power of optimism and the pursuit of excellence, shaping a
world where user experiences are not just seen or felt but
truly lived."
</div>
<div class="buttons">
<button class="button-primary">
<div class="text1">Projects</div>
</button>
<button class="button-secondary">
<div class="text2"><a href="https://www.linkedin.com/in/yizhuohu/"> LinkedIn </a></div>
</button>
</div>
</div>
</div>
</div>
<img class="image-1-1" loading="lazy" alt="" src="./public/[email protected]" />
</div>
</div>
<main class="portfolio-simple-footer-inner">
<section class="frame-group">
<div class="frame-container">
<img class="frame-child" loading="lazy" alt="" src="./public/[email protected]" />
<div class="tabsobre">
<div class="title-parent">
<h1 class="title1">About me</h1>
<div class="text3">
Facing design challenges, I stay optimistic, creative in color
and layout, and attentive to user experience. As a front-end
engineer, my code is clear, maintainable, and
performance-optimized, enhancing UI responsiveness and
interaction.
</div>
<button class="button-primary1">
<div class="text4">Resume</div>
</button>
</div>
</div>
</div>
<div class="projects-wrapper">
<div class="projects" data-scroll-to="projectsContainer">
<div class="projects-inner">
<div class="text-parent">
<h1 class="text5">Technical Skills</h1>
<div class="rectangle-wrapper">
<div class="frame-item"></div>
</div>
</div>
</div>
<div class="project2">
<div class="project-nfo">
<h1 class="tab-sobre">Front-end Development</h1>
<div class="text6">
<p class="proficient-in-html">
Proficient in HTML, CSS, and JavaScript, capable of
creating responsive, dynamic, and user-friendly web
interfaces.
</p>
<p class="currently-deepening-knowledge">
Currently deepening knowledge in modern front-end
frameworks and libraries such as React and Vue to enhance
web development efficiency and user experience.
</p>
</div>
<button class="boto-secudrio">
<div class="linkto-project">View Project</div>
</button>
</div>
<img class="project-instance-icon" loading="lazy" alt="" src="./public/[email protected]" />
</div>
<div class="project21">
<img class="project2-child" loading="lazy" alt="" src="./public/[email protected]" />
<div class="project-nfo1">
<h1 class="text7">Design Tools</h1>
<div class="text8">
<p class="mastery-in-figma">
Mastery in Figma, adept at swiftly crafting high-quality
interface designs, ensuring seamless collaboration between
design and development teams.
</p>
<p class="proficient-in-using">
Proficient in using Photoshop and Illustrator, responsible
for producing visually stunning posters, illustrations,
and other graphic designs.
</p>
</div>
<button class="boto-secudrio1">
<div class="v-i-e">View Project</div>
</button>
</div>
</div>
<div class="project22">
<div class="project-nfo2">
<h1 class="text9">Multimedia Editing</h1>
<div class="text10">
<p class="proficient-in-using1">
Proficient in using Premiere Pro for video editing,
creating compelling visual stories and content.
</p>
<p class="experienced-in-utilizing">
Experienced in utilizing Framer to add dynamic and
interactive elements to web applications, enhancing user
experience.
</p>
</div>
<button class="boto-secudrio2">
<div class="text11">View Project</div>
</button>
</div>
<img class="project2-item" loading="lazy" alt="" src="./public/[email protected]" />
</div>
</div>
</div>
<div>
<h1>HTML Cheat Sheet</h1>
<p>Below is a cheat sheet for some common HTML elements, properties, and functionalities:</p>
<table>
<tr>
<th>Element/Property</th>
<th>Description</th>
</tr>
<tr>
<td><!DOCTYPE></td>
<td>Defines the document type and version of HTML</td>
</tr>
<tr>
<td><html></td>
<td>Root element of an HTML page</td>
</tr>
<tr>
<td><head></td>
<td>Contains meta-information about the HTML document</td>
</tr>
<tr>
<td><title></td>
<td>Defines the title of the document</td>
</tr>
<tr>
<td><body></td>
<td>Contains the visible content of the HTML document</td>
</tr>
<tr>
<td><h1> to <h6></td>
<td>Defines headings of different levels</td>
</tr>
<tr>
<td><p></td>
<td>Defines a paragraph</td>
</tr>
<tr>
<td><a></td>
<td>Defines a hyperlink</td>
</tr>
<tr>
<td><img></td>
<td>Embeds an image</td>
</tr>
<tr>
<td><ul> and <li></td>
<td>Defines an unordered list and its items</td>
</tr>
<tr>
<td><ol> and <li></td>
<td>Defines an ordered list and its items</td>
</tr>
<tr>
<td><div></td>
<td>Defines a division or a section in an HTML document</td>
</tr>
<tr>
<td><span></td>
<td>Defines a section in an HTML document</td>
</tr>
<tr>
<td><input></td>
<td>Defines an input control</td>
</tr>
<tr>
<td><form></td>
<td>Defines an HTML form for user input</td>
</tr>
</table>
</div>
<div>
<h1>CSS Cheat Sheet</h1>
<p>Below is a cheat sheet for some common CSS properties and functionalities:</p>
<table>
<tr>
<th>Property/Functionality</th>
<th>Description</th>
</tr>
<tr>
<td>color</td>
<td>Specifies the text color</td>
</tr>
<tr>
<td>background-color</td>
<td>Sets the background color of an element</td>
</tr>
<tr>
<td>font-size</td>
<td>Sets the size of the font</td>
</tr>
<tr>
<td>font-family</td>
<td>Sets the font family for text content</td>
</tr>
<tr>
<td>font-weight</td>
<td>Specifies the weight of the font (e.g., bold)</td>
</tr>
<tr>
<td>margin</td>
<td>Sets the margin space around an element</td>
</tr>
<tr>
<td>padding</td>
<td>Sets the padding space around an element</td>
</tr>
<tr>
<td>border</td>
<td>Adds a border around an element</td>
</tr>
<tr>
<td>text-align</td>
<td>Aligns text content horizontally</td>
</tr>
<tr>
<td>display</td>
<td>Specifies the display behavior of an element</td>
</tr>
<tr>
<td>position</td>
<td>Sets the positioning method of an element</td>
</tr>
<tr>
<td>float</td>
<td>Specifies whether an element should float to the left, right, or none</td>
</tr>
<tr>
<td>z-index</td>
<td>Specifies the stack order of an element</td>
</tr>
<tr>
<td>opacity</td>
<td>Sets the transparency level of an element</td>
</tr>
<tr>
<td>transition</td>
<td>Adds smooth transition effects to elements</td>
</tr>
</table>
</div>
<div>
<h1>JavaScript Cheat Sheet</h1>
<p>Below is a cheat sheet for some common JavaScript functionalities:</p>
<table>
<tr>
<th>Functionality</th>
<th>Description</th>
</tr>
<tr>
<td>document.getElementById()</td>
<td>Returns a reference to the element by its ID</td>
</tr>
<tr>
<td>document.querySelector()</td>
<td>Returns the first element that matches a specified CSS selector</td>
</tr>
<tr>
<td>addEventListener()</td>
<td>Attaches an event handler to the specified element</td>
</tr>
<tr>
<td>setTimeout()</td>
<td>Executes a function after a specified time interval</td>
</tr>
<tr>
<td>setInterval()</td>
<td>Repeats a function at specified intervals</td>
</tr>
<tr>
<td>createElement()</td>
<td>Creates a new HTML element</td>
</tr>
<tr>
<td>appendChild()</td>
<td>Adds a new child node to an element</td>
</tr>
<tr>
<td>innerHTML</td>
<td>Sets or returns the HTML content of an element</td>
</tr>
<tr>
<td>classList</td>
<td>Returns the class name(s) of an element</td>
</tr>
<tr>
<td>JSON.parse()</td>
<td>Converts a JSON string into a JavaScript object</td>
</tr>
<tr>
<td>JSON.stringify()</td>
<td>Converts a JavaScript object into a JSON string</td>
</tr>
<tr>
<td>localStorage</td>
<td>Provides an interface to access a browser's local storage</td>
</tr>
<tr>
<td>fetch()</td>
<td>Initiates a request to a server and returns a Promise</td>
</tr>
<tr>
<td>Promise</td>
<td>Represents the eventual completion (or failure) of an asynchronous operation and its resulting value</td>
</tr>
<tr>
<td>async/await</td>
<td>Provides a syntax for writing asynchronous code in a synchronous way</td>
</tr>
</table>
</div>
<div class="frame-wrapper">
<div class="frame-div">
<div class="phinstagram-logo-fill-parent">
<a href="https://www.instagram.com/gavin.5920/"><img class="phinstagram-logo-fill-icon" loading="lazy" alt="" src="./public/phinstagramlogofill.svg" /></a>
<a href="https://www.linkedin.com/in/yizhuohu/"><img class="bilinkedin-icon" loading="lazy" alt="" src="./public/bilinkedin.svg" /></a>
<button id="copyButton"> <img class="bienvelope-fill-icon" loading="lazy" alt="" src="./public/bienvelopefill.svg" /></button>
</div>
<div class="yizhuo-hu-2024-wrapper">
<div class="yizhuo-hu-2024">Yizhuo Hu 2024</div>
</div>
</div>
</div>
</section>
</main>
</div>
<script>
var tabDefault1 = document.getElementById("tabDefault1");
if (tabDefault1) {
tabDefault1.addEventListener("click", function () {
var anchor = document.querySelector("[data-scroll-to='projectsContainer']");
if (anchor) {
anchor.scrollIntoView({ block: "start", behavior: "smooth" });
}
});
}
document.addEventListener("DOMContentLoaded", function() {
// 获取SVG图像和按钮元素
var emailImage = document.getElementById("emailImage");
var copyButton = document.getElementById("copyButton");
// 添加按钮点击事件处理函数
copyButton.addEventListener("click", function() {
// 复制Email地址到剪贴板
var email = "[email protected]"; // 这里替换成你的Email地址
navigator.clipboard.writeText(email)
.then(function() {
// 复制成功,弹出提示框
alert("Email copied: " + email);
})
.catch(function(error) {
// 复制失败,处理错误
console.error("Copy failed:", error);
});
});
});
</script>
</body>
</html>