Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div id="test"></div>
</select>
<script type="text/javascript">
window.addEventListener('wheel', function(e) {
if (e.deltaY < 0) {
console.log('scrolling up');
document.getElementById('test').innerHTML = 'scrolling up';
}
if (e.deltaY > 0) {
console.log('scrolling down');
document.getElementById('test').innerHTML = 'scrolling down';
}
});
</script>
</body>
</html>
The most helpful JAVASCRIPT solutions