CodePen

HTML

            
              <strong>Title</strong>

<p id="myQuote">Slogan</p>
            
          
!
via HTML Inspector

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              var myQuotes = new Array();

myQuotes[0] = "To be or not to be";

myQuotes[1] = "The only thing we have to fear is fear itself";

myQuotes[2] = "Give me liberty or give me death";


var myRandom = Math.floor(Math.random()*myQuotes.length);


$('#myQuote').html(myQuotes[myRandom]);
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................