JSFiddle - React, Tailwind, and code Playground

HTML

<div class="tasteTheRainbow">
    <img class="gA3" src="http://img1.wikia.nocookie.net/__cb20110227180545/callofduty/images/archive/3/36/20110227205839!Right_arrow.png" />
</div>

CSS

.tasteTheRainbow {
    position: relative;
    display: block;
    width: 100%;
    height: 300px;
    background: url(http://upload.wikimedia.org/wikipedia/commons/c/ca/Skittles-Louisiana-2003.jpg) no-repeat center center;
    background-size: cover;
}
.tasteTheRainbowNew {
    background-image: url(http://fc05.deviantart.net/fs70/i/2011/340/3/6/skittles_by_azr4el-d4idh84.jpg);
}
.gA3 {
    position: absolute;
    display: block;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    cursor: pointer;
}

JavaScript

$(function () {
    $(".gA3").click(function () {
        $(this).parent(".tasteTheRainbow").toggleClass("tasteTheRainbowNew");
    });
});