html page shifts when using range code example Example: javascript update value when slider moves javascript range.addEventListener('input', onInput, false);