add name
This commit is contained in:
3 files changed
+3
No files matched your search
@@ -9,6 +9,7 @@
|
||||
<body>
|
||||
<main class="landing-page">
|
||||
<h1 id="page-title"></h1>
|
||||
<p id="student-name" style="student-name"></p>
|
||||
<br>
|
||||
|
||||
<nav class="page-links" aria-label="Lab pages">
|
||||
|
||||
@@ -189,6 +189,7 @@ class LandingPage {
|
||||
document.getElementById("page-title").textContent = STRINGS.INDEX_TITLE;
|
||||
document.getElementById("writer-link").textContent = STRINGS.WRITER_LINK;
|
||||
document.getElementById("reader-link").textContent = STRINGS.READER_LINK;
|
||||
document.getElementById("student-name").textContent = STRINGS.STUDENT_NAME;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
export const STRINGS = {
|
||||
STUDENT_NAME: "Braeden Sowinski",
|
||||
INDEX_TITLE: "Lab 1: JSON, Object Constructor, localStorage",
|
||||
WRITER_LINK: "Write Notes",
|
||||
READER_LINK: "Read Notes",
|
||||
|
||||
Reference in new issue
Block a user