<strong>Title</strong> <p id="myQuote">Slogan</p>
var myQuotes = new Array(); myQuotes = "To be or not to be"; myQuotes = "The only thing we have to fear is fear itself"; myQuotes = "Give me liberty or give me death"; var myRandom = Math.floor(Math.random()*myQuotes.length); $('#myQuote').html(myQuotes[myRandom]);
As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.
Also see: Tab Triggers