I currently have a scroll to DIv Javascript is possible to combine them somehow
to not have so much script. Since I am targeting different Divs?
$("#button").click(function() {
$('html, body').animate({
scrollTop: $("#photosinuse, #howtoapply").offset().top
}, 2000);
});
$("#button2").click(function() {
$('html, body').animate({
scrollTop: $("#howtoapply").offset().top
}, 2000);
});