Updates to projects section

This commit is contained in:
jme9
2024-12-06 15:49:22 -08:00
parent 3b3bba746b
commit 08c3537ef3
6 changed files with 149 additions and 3 deletions
+3 -1
View File
@@ -50,9 +50,11 @@ function loadTextFromFile(filePath, targetSelector) {
});
}
// Load the "About Me" text when page loads
// Load text files when page loads
window.addEventListener("load", () => {
loadTextFromFile("about.txt", ".about-paragraph");
loadTextFromFile("project1.txt", "#project1-paragraph");
loadTextFromFile("project2.txt", "#project2-paragraph");
});
// Image carousel