slider js code

PHOTO EMBED

Tue Feb 22 2022 21:22:21 GMT+0000 (UTC)

Saved by @viresh #html

const slider = document.querySelector(".simple-slider");
const value = document.querySelector("#slider-value");

slider.addEventListener("input", () => {
value.innerHTML = `You selected ${slider.value}`;
});
content_copyCOPY