-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
18 lines (15 loc) · 873 Bytes
/
Copy pathscript.js
File metadata and controls
18 lines (15 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
document.addEventListener('DOMContentLoaded', () => {
// Populate portfolio information
const nameElement = document.getElementById('name');
const educationElement = document.getElementById('education');
const experienceTextElement = document.getElementById('experience-text');
const name = "Nate Hessler";
const education = "Business/Marketing from the University of Missouri-St. Louis";
const experience = "software + support engineering";
if (nameElement) nameElement.textContent = name;
if (educationElement) educationElement.textContent = education;
if (experienceTextElement) experienceTextElement.textContent = experience;
// Set current year in footer
const currentYearElement = document.getElementById('currentYear');
if (currentYearElement) currentYearElement.textContent = new Date().getFullYear();
});