-
Notifications
You must be signed in to change notification settings - Fork 0
/
teaching.html
56 lines (51 loc) · 1.99 KB
/
teaching.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zintis May - Teacher</title>
<link rel="stylesheet" href="robotoFont.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="index.css">
</head>
<body class="work">
<div class="contentArea" id="contentArea">
<h1 class="headerText">Teaching</h1>
<div class="row">
<p>Ever since I started down my programming path, people have noted that I seem to have the right stuff to be a
teacher. Patience, empathy, and a real concern for everyone I'm working with. In the last few years I've been
working with students much more, and feel like I have come into my own as a Teacher/Tutor/Mentor. Although not
through traditional (college curriculum) routes, at this point I have many thousands of hours working with
students and in classrooms (albeit online).</p>
</div>
</div>
</body>
<!-- assigns variable "teachingData" -->
<script src="data/teachingData.js"></script>
<script>
teachingData.sort((a, b) => a.year - b.year)
let contentArea = document.getElementById("contentArea")
for (let x = 0; x < teachingData.length; x++) {
let job = teachingData[x]
let content = `
<div class="floatRow">
<a ${job.linkURL ? `href="${job.linkURL}"` : ""}>
<img src="images/${job.image}" alt="">
</a>
<p>
<h3>
<a ${job.linkURL ? `href="${job.linkURL}"` : ""}>${job.properName} - ${job.year}</a>
</h3>
${job.description}
</p>
</div>
`
contentArea.innerHTML += content
}
</script>
<script src="addMenu.js"></script>
</html>