its 1:20am i forgor what i did

This commit is contained in:
2025-01-19 01:19:34 +01:00
parent 86f7f1c66d
commit 46575bf30d
4 changed files with 48 additions and 13 deletions
+28 -1
View File
@@ -1,6 +1,16 @@
CURRENT_PAGE = PAGES.LICENSE
const sillyInput = document.getElementById("sillyInput")
const authorInput = document.getElementById("authorInput")
const createdInput = document.getElementById("createdInput")
const expireInput = document.getElementById("expireInput")
const identityInput = document.getElementById("identityInput")
const sillyInput = document.getElementById("sillyInput")
const authorValue = document.getElementById("authorValue")
const createdValue = document.getElementById("createdValue")
const expireValue = document.getElementById("expireValue")
const genderValue = document.getElementById("genderValue")
const sillyValue = document.getElementById("sillyValue")
const sillyNumberValue = document.getElementById("sillyNumberValue")
@@ -11,11 +21,28 @@ function prependZero(number) {
return number
}
authorInput.oninput = function() {
authorValue.innerHTML = this.value
}
createdInput.oninput = function() {
createdValue.innerHTML = this.value
}
expireInput.oninput = function() {
expireValue.innerHTML = this.value
}
identityInput.oninput = function() {
genderValue.innerHTML = this.value
}
sillyInput.oninput = function() {
sillyNumberValue.innerHTML = prependZero(this.value)
}
function onLoadLicense() {
authorValue.innerHTML = prependZero(authorInput.value)
createdValue.innerHTML = prependZero(createdInput.value)
expireValue.innerHTML = prependZero(expireInput.value)
genderValue.innerHTML = prependZero(identityInput.value)
sillyNumberValue.innerHTML = prependZero(sillyInput.value)
}