You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
const slider = document.getElementById('slider');
const button = document.getElementById('reset');
reset.addEventListener('click', reset);
function reset() {
slider.value = 50; // handle should move to the middle, but stays where it was
}
The text was updated successfully, but these errors were encountered:
Setting the value of the slider does not change the position of the handle. It just stays where it was before the change.
HTML:
JavaScript:
The text was updated successfully, but these errors were encountered: