forked from udacity/frontend-nanodegree-resume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·63 lines (63 loc) · 2.14 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
<!--HTML provided by Cameron Pittman for the Udacity JavaScript Syntax course.-->
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Resume</title>
<link href="css/style.css" rel="stylesheet">
<script src="js/jQuery.js"></script>
<script src="js/helper.js"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=places"></script>
<meta name="viewport" content="width=device-width">
</head>
<header class="clear-fix">
<div id="bio-box">
<ul id="topContacts" class="flex-box"></ul>
</div>
</header>
<body>
<div id="main">
<div style="clear: both;"></div>
<div id="workExperience" class="gray">
<h2>Work Experience</h2>
</div>
<div id="projects">
<h2>Projects</h2>
</div>
<div id="education" class="gray">
<h2>Education</h2>
</div>
<div id="mapDiv">
<h2>Where I've Lived and Worked</h2>
</div>
<div id="lets-connect" class="dark-gray">
<h2 class="orange center-text">Let's Connect</h2>
<ul id="footerContacts" class="flex-box">
</ul>
</div>
</div>
<script src="js/resumeBuilder.js"></script>
<script type="text/javascript">
if(document.getElementsByClassName('flex-item').length === 0) {
document.getElementById('topContacts').style.display = "none";
}
if(document.getElementsByTagName('h1').length === 0) {
document.getElementById('header').style.display = "none";
}
if(document.getElementsByClassName('work-entry').length === 0) {
document.getElementById('workExperience').style.display = "none";
}
if(document.getElementsByClassName('project-entry').length === 0) {
document.getElementById('projects').style.display = "none";
}
if(document.getElementsByClassName('education-entry').length === 0) {
document.getElementById('education').style.display = "none";
}
if(document.getElementsByClassName('flex-item').length === 0) {
document.getElementById('lets-connect').style.display = "none";
}
if(document.getElementById('map') === null) {
document.getElementById('mapDiv').style.display = "none";
}
</script>
</body>
</html>