its 1:20am i forgor what i did
This commit is contained in:
+28
-1
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user