JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    
    <title>Slides, A Slideshow Plugin for jQuery</title>
    
    <base href="http://slidesjs.com/examples/images-with-captions/" />
    
    <link rel="stylesheet" href="css/global.css">
    
    <script src="js/slides.min.jquery.js"></script>

</head>
<body>
    <div id="container">
        <div id="example">
            <img src="img/new-ribbon.png" width="112" height="112" alt="New Ribbon" id="ribbon">
            <div id="slides">
                <div class="slides_container">
                    <div class="slide">
                        <a href="http://www.flickr.com/photos/jliba/4665625073/" title="145.365 - Happy Bokeh Thursday! | Flickr - Photo Sharing!" target="_blank"><img src="img/slide-1.jpg" width="570" height="270" alt="Slide 1"></a>
                        <div class="caption" style="bottom:0">
                            <p>Happy Bokeh Thursday!</p>
                        </div>
                    </div>
                    <div class="slide">
                        <a href="http://www.flickr.com/photos/stephangeyer/3020487807/" title="Taxi | Flickr - Photo Sharing!" target="_blank"><img src="img/slide-2.jpg" width="570" height="270" alt="Slide 2"></a>
                        <div class="caption">
                            <p>Taxi</p>
                        </div>
                    </div>
                    <div class="slide">
                        <a href="http://www.flickr.com/photos/childofwar/2984345060/" title="Happy Bokeh raining Day | Flickr - Photo Sharing!" target="_blank"><img src="img/slide-3.jpg" width="570" height="270" alt="Slide 3"></a>
                        <div class="caption">
                            <p>Happy Bokeh raining Day</p>
                        </div>
                    </div>
                    <div class="slide">
                        <a href="http://www.flickr.com/photos/b-tal/117037943/" title="We Eat Light | Flickr -...

JavaScript

$(function(){
              $('.caption').animate({
                 bottom:0
            },200); 
            $('#slides').slides({
                preload: true,
                preloadImage: 'img/loading.gif',
                play: 5000,
                pause: 2500,
                hoverPause: true,
                animationStart: function(current){
                    if (window.console && console.log) {
                        // example return of current slide number
                        console.log('animationStart on slide: ', current);
                    };
                },
                animationComplete: function(current){
                    if (window.console && console.log) {
                        // example return of current slide number
                        console.log('animationComplete on slide: ', current);
                    };
                }
            });
        });