let index=Math.floor(Math.random()*quotes.length); <!--This will give a random quote--> quotes[index];