JSFiddle - React, Tailwind, and code Playground
HTML
<blockquote class="quotelist" id="rotator-container">
<div class="quote">
Best explanation I've ever received on these topics.
</div>
<div class="quote">
This was seriously outstanding! This speaker has a great understanding of inpatient and outpatient software, delivery systems, discharge counseling that may be different from what may/not be covered by insurance plans in outpatient setting, etc., pharmacists and nursing errors in general: a very broad understanding of where things go wrong.
</div>
<div class="quote">
Excellent! I have a much greater understanding.
</div>
</blockquote>
JavaScript
$elements = $('#rotator-container').children('div');
$elements.hide().first().show();
setInterval(function() {
$elements.filter(':visible').fadeOut('slow', function() {
$next = $(this).next();
if ($next.length === 0) {
$next = $elements.first();
}
$next.fadeIn('slow');
});
},2000);