I'm trying to have it so that whenever the button is clicked it will then change to the next background image.
var images = [
"http://helenspeyer.co.uk/wp-content/gallery/the-end-of-the-f-ing-world/The-end-of-the-f...ing-world-2-Large.jpg",
"http://helenspeyer.co.uk/wp-content/gallery/the-end-of-the-f-ing-world/The-end-of-the-f...ing-world-6-Large.jpg",
"http://helenspeyer.co.uk/wp-content/gallery/the-end-of-the-f-ing-world/The-end-of-the-f...ing-world-1-Large.jpg"
]
for (var i = 0; i < images.length; i++) {
$("#changeBg").click(function() {
$("body").css("background-image", "images.length[i]");
}