daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <HEAD>
  2.  <SCRIPT language="JavaScript">
  3. <!--
  4. function get_random()
  5. {
  6.     var ranNum= Math.floor(Math.random()*5);
  7.     return ranNum;
  8. }
  9.  
  10. function getaQuote()
  11. {
  12.    var whichQuote=get_random();
  13.  
  14.     var quote=new Array(5)
  15.      quote[0]="Borg is Special";
  16.      quote[1]="Here is your dam coding";
  17.      quote[2]="I don't really know how to code";  
  18.      quote[3]="So I googled it, which makes me special";
  19.      quote[4]="Seeing I googled before asking! HERPADDEEEEEEEEERP";
  20.      quote[4]="Ps when is the next livestream so I can ask retarded questions?";
  21.  
  22.    alert(quote[whichQuote]);
  23.   }
  24. //-->
  25. </SCRIPT>
  26. </HEAD>
  27.  
  28. <BODY>
  29. <FORM name="form1">
  30. <INPUT TYPE="button" value="Get a Quote!" onClick="getaQuote()">
  31. </FORM>  
  32. </BODY>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top