This commit is contained in:
SowinskiBraeden committed 2026-09-20 20:15:09 -07:00
1 parent 35221b5c04
commit b8a795060b
3 files changed
+3

No files matched your search

+1
View File
@@ -9,6 +9,7 @@
<body> <body>
<main class="landing-page"> <main class="landing-page">
<h1 id="page-title"></h1> <h1 id="page-title"></h1>
<p id="student-name" style="student-name"></p>
<br> <br>
<nav class="page-links" aria-label="Lab pages"> <nav class="page-links" aria-label="Lab pages">
+1
View File
@@ -189,6 +189,7 @@ class LandingPage {
document.getElementById("page-title").textContent = STRINGS.INDEX_TITLE; document.getElementById("page-title").textContent = STRINGS.INDEX_TITLE;
document.getElementById("writer-link").textContent = STRINGS.WRITER_LINK; document.getElementById("writer-link").textContent = STRINGS.WRITER_LINK;
document.getElementById("reader-link").textContent = STRINGS.READER_LINK; document.getElementById("reader-link").textContent = STRINGS.READER_LINK;
document.getElementById("student-name").textContent = STRINGS.STUDENT_NAME;
} }
} }
+1
View File
@@ -1,4 +1,5 @@
export const STRINGS = { export const STRINGS = {
STUDENT_NAME: "Braeden Sowinski",
INDEX_TITLE: "Lab 1: JSON, Object Constructor, localStorage", INDEX_TITLE: "Lab 1: JSON, Object Constructor, localStorage",
WRITER_LINK: "Write Notes", WRITER_LINK: "Write Notes",
READER_LINK: "Read Notes", READER_LINK: "Read Notes",