My challenge is getting the scroll to reveal my scrollTop value
I've been working with this code:
$(document).ready(function(){
console.log('Hello!');
$(window).scroll(function(){
console.log('Scrolling...');
var wScroll = ($(window).scrollTop());
console.log(wScroll);
});
});
However, the console remains silent. It prints 'Hello!' but doesn't acknowledge 'Scrolling...'. I've attempted various solutions without success. That's why I'm reaching out for help!