Skip to content

Commit b0c4b15

Browse files
Merge pull request #74 from hello-world-1989/main
Update index.html
2 parents 882a9e9 + 4f5c59e commit b0c4b15

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

public/temp/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@
6161
const currentDate = new Date();
6262
const currentYear = currentDate.getFullYear();
6363
currentYearSpan.textContent = currentYear;
64+
65+
document.getElementById('year').value = currentYear;
6466
});
6567
</script>
6668

@@ -134,7 +136,12 @@ <h1>
134136
>
135137
<option value="2022">2022</option>
136138
<option value="2023">2023</option>
137-
<option selected value="2024">2024</option>
139+
<option value="2024">2024</option>
140+
<option selected value="2025">2025</option>
141+
<option value="2026">2026</option>
142+
<option value="2027">2027</option>
143+
<option value="2028">2028</option>
144+
<option value="2029">2029</option>
138145
</select>
139146

140147
<select

0 commit comments

Comments
 (0)