forked from udacity/frontend-nanodegree-resume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·71 lines (62 loc) · 2.27 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
<!DOCTYPE html>
<head>
<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">
<link rel="icon" href="images/cartoon.jpg">
</head>
<body>
<div id="main">
<div id="header" class="center-content">
<ul id="topContacts" class='flex-box'></ul>
</div>
<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="letsConnect" 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.backgroundColor = "black";
}
if(document.getElementsByTagName("h1").length === 0) {
document.getElementById("header").style.backgroundColor = "black";
}
if(document.getElementsByClassName("work-entry").length === 0) {
document.getElementById("workExperience").style.backgroundColor = "black";
}
if(document.getElementsByClassName("project-entry").length === 0) {
document.getElementById("projects").style.backgroundColor = "black";
}
if(document.getElementsByClassName("education-entry").length === 0) {
document.getElementById("education").style.backgroundColor = "black";
}
// if(document.getElementsByClassName("skills-entry").length === 0) {
// document.getElementById("skillsChart").style.backgroundColor = "black";
// }
if(document.getElementsByClassName("flex-item").length === 0) {
document.getElementById("letsConnect").style.backgroundColor = "black";
}
if(document.getElementById('map') === null) {
document.getElementById('mapDiv').style.backgroundColor = "white";
}
}
</script>
</body>