I am trying to make a custom slider.
What I want: Everytime I click on ".c-button" I want the ".belt" class to shift -290px.
What is Happening: The ".belt" only translates on the first click and every click afterwards does nothing. Help?
$(".c-button").click(function() {
$(".belt").css({"transform":"translateX(-290px)"});
});