SHARE
TWEET

buy a function

Bluefury6 Jun 20th, 2019 (edited) 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>About.</title>
  5.    
  6.     <style>
  7.             body{
  8.                 background-color: paleturquoise;
  9.                 }
  10.                
  11.     ul {
  12.   list-style-type: none;
  13.   margin: 0;
  14.   padding: 0;
  15.   overflow: hidden;
  16.   background-color: turquoise;
  17.   position: fixed;
  18.   top: 0;
  19.   width: 100%;
  20. }
  21.  
  22.     li {
  23.   float: left;
  24. }
  25.  
  26.     li a {
  27.   display: block;
  28.   color: black;
  29.   text-align: center;
  30.   padding: 14px 16px;
  31.   text-decoration: none;
  32. }
  33.  
  34.     li a:hover:not(.active) {
  35.   background-color: teal;
  36. }
  37.  
  38.    
  39.  
  40. </style>
  41.  
  42. </head>
  43. <body>
  44.     <ul>
  45.         <li><a href="aboutmypage.html">Purchase a function</a></li>
  46.         <li><a href="mypagen8.html">Home</a></li>
  47.         <li><a href="aboutmypage.html">About</a></li>
  48.         <li><a href="https://pastebin.com/">Pastebin</a></li>
  49.     </ul>
  50.        
  51.         <br><br><br>
  52.         <h1>Buy your very own function HERE!<h1>
  53.        
  54.         <h4>put the name of the function below<h4>
  55.        
  56.         <textarea rows="4" cols="40" id="mysubmit"></textarea><br>
  57.        
  58.         <script>
  59.            
  60.            
  61.             function submission (){
  62.                 let funcname = document.getElementById("mysubmit").value;
  63.                 let confirmation = confirm("Are you sure that you would like to purchase a function that is named " + funcname + "?");
  64.                 if(confirmation === true){
  65.                     let debit = confirm("Would you like to pay with debit?");
  66.                     if(debit === true){
  67.                         let id = prompt("Please enter your debit CVC:", "")
  68.                        
  69.                             let complete = confirm("You are about to purchase the function " + funcname + "for $125 with the debit CVC " + id + ". Are you sure you wish to do this?")
  70.                             if(complete === true){
  71.                                 alert("Thank you for purchasing a function. it will arrive within a week.")
  72.                            
  73.                         }
  74.                     }
  75.                 }
  76.                
  77.             }
  78.         </script>
  79.        
  80.         <button id="submitter" onclick="submission()">submit</button>
  81.  
  82.    
  83. </body>
  84. </html>
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