added details section & options/parameters section
This commit is contained in:
+21
-1
@@ -1 +1,21 @@
|
||||
CURRENT_PAGE = PAGES.LICENSE
|
||||
CURRENT_PAGE = PAGES.LICENSE
|
||||
|
||||
const sillyInput = document.getElementById("sillyInput")
|
||||
|
||||
const sillyNumberValue = document.getElementById("sillyNumberValue")
|
||||
|
||||
function prependZero(number) {
|
||||
if (number < 10)
|
||||
return "0" + number
|
||||
else
|
||||
return number
|
||||
}
|
||||
|
||||
sillyInput.oninput = function() {
|
||||
sillyNumberValue.innerHTML = prependZero(this.value)
|
||||
}
|
||||
|
||||
|
||||
function onLoadLicense() {
|
||||
sillyNumberValue.innerHTML = prependZero(sillyInput.value)
|
||||
}
|
||||
Reference in New Issue
Block a user