-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
110 lines (88 loc) · 3 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>rey909's Github Webpage</title>
<style>
h1 {color: blue;
display: block}
.tab {display: none}
<!-- adjusting for screen size (Mobile First: for speed on mobile devices)
@media only screen and (max-width: 600px) {
put stuff for desktop here
}
-->
* {
box-sizing: border-box;
}
.tabButton {
width: 300px;
height: 100px;
border: 5px;
}
</style>
</head>
<body>
<div id= "header">
<h1> Rebecca Young </h1>
<p> Pursuing undergraduate CIS (Computer and Information Science) and Statistics degrees at The Ohio State University </p>
</div>
<div class="tabButton">
<input type = "button" onclick = "displayContent('education', 'header')" value = "EDUCATION">
</div>
<div class="tabButton">
<input type = "button" onclick = "displayContent('projects', 'header')" value = "PROJECTS">
</div>
<div class="tabButton">
<input type = "button" onclick = "displayContent('life_outside_cs', 'header')" value = "LIFE OUTSIDE CS">
</div>
<div class="tabButton">
<input type = "button" onclick = "displayContent('resume', 'header')" value = "RESUME">
</div>
<div class="tabButton">
<input type = "button" onclick = "displayContent('skills', 'header')" value = "SKILLS">
<input type = "button" onclick = "displayContent('contact_me', 'header')" value = "CONTACT ME">
</div>
<div id="education" class="tab">
<h1> Hello! </h1>
<!-- <input type = "button" onclick = "displayContent('relevant_courses', 'education')" value = "RELEVANT COURSES"> -->
<p> This is my first tab. You can close it if you'd like </p>
<input type = "button" onclick = "displayContent('header', 'education')" value = "X">
</div>
<!-- <div id="relevant_courses" class="tab" display = "none">
<h1> Hello! </h1>
<p> This is my first tab. You can close it if you'd like </p>
<input type = "button" onclick = "displayContent('header', 'tab1')" value = "X">
</div> -->
<div id="projects" class="tab">
<h1> PROJECTS </h1>
<p> Here are some projects I've been working on </p>
<input type = "button" onclick = "displayContent('header', 'projects')" value = "X">
</div>
<div id="life_outside_cs" class="tab">
<h1> LIFE OUTSIDE CS </h1>
<p> Heres what I do for fun </p>
<input type = "button" onclick = "displayContent('header', 'life_outside_cs')" value = "X">
</div>
<div id="resume" class="tab">
<h1> RESUME </h1>
<p> Downloadable copy of my up-to-date resume: </p>
<input type = "button" onclick = "displayContent('header', 'resume')" value = "X">
</div>
<div id="skills" class="tab">
<h1> SKILLS </h1>
<p> Programming languages: </p>
<input type = "button" onclick = "displayContent('header', 'skills')" value = "X">
</div>
<div id="contact_me" class="tab">
<h1> CONTACT ME </h1>
<p> email: </p>
<input type = "button" onclick = "displayContent('header', 'contact_me')" value = "X">
</div>
<script>
function displayContent(contentToDisplay, contentToClose) {
document.getElementById(contentToDisplay).style.display = "block";
document.getElementById(contentToClose).style.display = "none";
}
</script>
</body>
</html>