js window width change code example
Example: javascript on screen width change
$(window).resize(function() {
/* Do shit */
console.log('window was resized');
});
$(window).resize(function() {
/* Do shit */
console.log('window was resized');
});