-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·34 lines (32 loc) · 1.26 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
<!DOCTYPE html>
<html>
<head>
<title>Charles's Website</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/matter-js/0.12.0/matter.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/TypewriterJS/1.0.0/typewriter.min.js"></script>
<script src="matterDraw.js"></script>
</head>
<nav>
<a class="active" href="index.html">Home</a>
<a href="projects.html">Projects</a>
</nav>
<body id="main-pg" onload="start()">
<p id="my-name">Hi, my name is Charles Wu!</p>
<p id="about-me"></p>
<script>
const aboutMe = "I'm a third year student at the University of Waterloo, studying Computer Science and Statistics.";
function typeAboutMe() {
var type = new Typewriter($("#about-me")[0], {
typingSpeed: 30
});
type.typeString(aboutMe).start();
}
function start() {
setPhysics();
typeAboutMe();
}
</script>
</body>
</html>