-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (98 loc) · 3.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Emma Hodor</title>
<link rel="stylesheet" href="new_styles.css">
<script src="js_site.js" type="text/javascript"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
</head>
<body onload="typing('Welcome to my website!', '#message')">
<div id="navbar">
<h1 id="name_head">
Emma Hodor
</h1>
<div class="menu_button" id="menu_button" class="dropdwn" onclick="swap(this);links_dropdown()">
<div class="top_bar"></div>
<div class="mid_bar"></div>
<div class="low_bar"></div>
<!--<button onclick="links_dropdown()" class="dropdown"></button> -->
<div class="options" id="options">
<a href="ehodor.github.io" target="_blank">Homepage</a>
<a href="https://www.linkedin.com/in/emma-hodor-670739266" target="_blank">My LinkedIn</a>
<a href="https://github.com/ehodor" target="_blank">My GitHub</a>
</div>
</div>
</div>
<div id="wrapper">
<img src="IMG_2735.jpeg" alt="Picture of me!">
<div class="typing_message">
<span id="message" class="message"></span>
<span id="cursor"></span>
</div>
<div>
<p id="intro-paragraph">Hello! My name's Emma, and this is my personal page on the web. Scroll down to find out more,
or use the menu on the top right!</p>
</div>
</div>
<div id="bio_page" class="before_scroll">
<p>I am currently a 3/4 student at Stevens Institute of Technology. I'm majoring in Computer Science,
and I'm always trying to branch out and improve my coding skills. I have taken classes and am
skilled in several programming languages, such as Python, C, C++, Java, HTML, CSS, and JavaScript. I am also
proficient in math topics such as statistics, and am well-acquainted with R and LaTeX!</p>
</div>
<div id="typing_message2" class="before_scroll">
<span id="message2" class="message2"></span>
<span id="message3" class="message2"></span>
<span id="message4" class="message2"></span>
<span id="message5" class="message2"></span>
<span id="cursor2"></span>
</div>
<script>
let fired = false;
$(function() {
$(window).scroll(function () {
if($(this).scrollTop() > 400 && $(this).scrollTop() <=1000) {
$("body").addClass("red_color")
}
if($(this).scrollTop() > 400 && $(this).scrollTop() <=1000 && !fired) {
typing("I would describe myself as:", "#message2");
typing("hardworking", "#message3");
typing("ambitious", "#message4");
typing("open to new ideas", "#message5");
fired = true;
}
if($(this).scrollTop() > 400 && $(this).scrollTop() <=1000) {
$("body").removeClass("black_color")
}
else if($(this).scrollTop() > 1000) {
$("body").addClass("black_color")
}
else {
$("body").removeClass("red_color")
}
});
});
</script>
<script>
$(function () {
let begin = $("#bio_page");
let second_type = $("#typing_message2");
$(window).scroll(function() {
if($(this).scrollTop() > 400 && $(this).scrollTop() <=1000) {
begin.addClass("after_scroll");
second_type.addClass("after_scroll");
}
else {
begin.removeClass("after_scroll");
second_type.removeClass("after_scroll");
}
})
})
</script>
<script>
window.onscroll = function () {scroll_menu()};
</script>
</body>
</html>