JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>

<head>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script src="http://www.ben-holland.co.uk/slidorian/jquery.dimensions.js"></script>
    <script src="http://www.ben-holland.co.uk/slidorian/jquery.accordion.js"></script>
</head>

<body>
    
    <div id="slidordian">
        
        <div id="slider">
            <div id="section1" class="slider-image">
                <img src="http://www.ben-holland.co.uk/slidorian/dresses.jpg" width="488" height="400" />
            </div>
            <div id="section2" class="slider-image">
                <img src="http://www.ben-holland.co.uk/slidorian/wilde.jpg" width="488" height="400" />
            </div>
            <div id="section3" class="slider-image">
                <img src="http://www.ben-holland.co.uk/slidorian/dog.jpg" width="488" height="400" />
            </div>
        </div>
        
        <div id="accordian">
            <a id="section1">There is one obvious advantage:</a>
            <div>
                <p>
                    You've seen it coming!<br/>
                    Buy now and get nothing for free!<br/>
                    Well, at least no free beer. Perhaps a bear,<br/>
                    if you can afford it.
                </p>
            </div>
            <a id="section2">Now that you've got...</a>
            <div>
                <p>
                    your bear, you have to admit it!<br/>
                    No, we aren't selling bears.
                </p>
            </div>
            <a id="section3">Rent one bear, ...</a>
            <div>
                <p>
                    Some cool, snappy text will go here<br/>
                    Some cool, snappy text will go here<br/>
                    Some cool, snappy text will go here<br/>
                    Some cool, snappy text will go here<br/>
                    Some cool, snappy text will go here<br/>
                </p>
                <p>
                    Some...

CSS

#slidordian {
    width:752px;
    height:400px;
}


#slider {
    width:490px;
    height:402px;
    position:relative;
    float:left;
}
#slider img {
    border:1px solid black;
    border-right:none;
    position:absolute;
    top:0;
    left:0;
}


#accordian  {
    width: 260px;
    height:400px;
    font-family: verdana;
    float:left;
    background: #eee;
    border:1px solid black;
}
#accordian p {
    font-weight: bold;
    font-size: 10px;
    margin: 0;
    padding: 16px;
}
#accordian a {
    cursor:pointer;
    display:block;
    padding:5px;
    margin-top: 0;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    color: black;
    background-color: #00a0c6;
}
#accordian a:hover {
    background-color: white;
}
#accordian a.selected {
    color: black;
    background-color: #80cfe2;
}

JavaScript

$(document).ready(function(){

    $('#accordian').accordion();
    $('.slider-image').css({opacity:'0'});
    $('#section1').css({opacity:'1'});
    
    var current = "section1";
    
    $('#accordian a').click(function(){
        var section = $(this).attr("id");
        if(section==current){
            return false;
        }else{
            $('#slider #'+current).animate({opacity:'0'}, 200);
            $('#slider #'+section).animate({opacity:'1'}, 200);
            current = section;
        }
    });
        
});