JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://leaverou.github.io/prefixfree/prefixfree.js"></script>
<p class="marquee"><span id="dtText"></span></p>

CSS

.marquee {
    width: 350px;
    margin: 0 auto;
    background:yellow;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    color:blue;
    font-size:18px;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    text-indent: 0;
    animation: marquee 15s linear infinite;
}

.marquee span:hover {
    animation-play-state: paused
}

@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

JavaScript

var today = new Date();
document.getElementById('dtText').innerHTML="Today's Date is :"+today;