Guest User

Untitled

a guest
Sep 14th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  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>
Add Comment
Please, Sign In to add comment