Get rid of final piece of inline JS
This commit is contained in:
@ -1,3 +1,13 @@
|
||||
// Slider
|
||||
var slider = document.getElementById("range");
|
||||
var output = document.getElementById("range-value");
|
||||
output.innerHTML = slider.value;
|
||||
|
||||
slider.oninput = function() {
|
||||
output.innerHTML = this.value;
|
||||
}
|
||||
|
||||
// Spaceship control center
|
||||
const colorPickerLight = document.querySelector("#color-picker-light");
|
||||
const colorPickerDark = document.querySelector("#color-picker-dark");
|
||||
const contrastCheckboxLight = document.querySelector("#contrast-color-light");
|
||||
|
Reference in New Issue
Block a user