Advertisement
ithortureu

Untitled

Aug 10th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 4.66 KB | None | 0 0
  1.     <!DOCTYPE html>
  2.     <html>
  3.     <body>
  4.  
  5.     <p>Click to get started!</p>
  6.    
  7.     <!--Link to all CSS files -->
  8.     <link rel="stylesheet" href="buttons2.css">
  9.     <link rel="stylesheet" href="displayscores.css">
  10.     <link rel="stylesheet" href="layout.css">
  11.    
  12.     <!-- make all buttons -->
  13.     <button id="addpoints" onclick="addPoints()" background-color: red>Slice some bread!</button>
  14.    
  15.     <button id="firstbuild" onclick="build1()" style="display:none;">Bread slicer. Cost x</button>
  16.    
  17.     <button id="secondbuild" onclick="build2()" style="display:none;">Sandwich bread machine. Cost x</button>
  18.    
  19.     <button id="thirdbuild" onclick="build3()" style="display:none;">Crouton maker. Cost x</button>
  20.    
  21.     <button id="fourthbuild" onclick="build4()" style="display:none;">Roll factory. Cost x</button>
  22.    
  23.     <button id="fifthbuild" onclick="build5()" style="display:none;">Baguette oven. Cost x</button>
  24.    
  25.     <button id="sixthbuild" onclick="build6()" style="display:none;">Bagel production line. Cost x</button>
  26.    
  27.     <button id="seventhbuild" onclick="build7()" style="display:none;">Soft pretzel manufacturer. Cost x</button>
  28.    
  29.     <br>
  30.     <p><b>Upgrades:</b></p>
  31.    
  32.     <button id="btn_multiply" onclick="firstx2()" style="display:none;">x2 Multiplier. Cost: 100</button>
  33.    
  34.     <button id="multiply2" onclick="secondx2()" style="display:none;">x2 Multiplier. Cost: 1000</button>
  35.    
  36.     <button id="multiply3" onclick="thirdx2()" style="display:none;">x2 Multiplier. Cost: 5000</button>
  37.    
  38.     <button id="firstbuildmulti1" onclick="build1multi1()" style="display:none;">Sliced bread x2 multiplier. Cost x</button>
  39.    
  40.     <button id="secondbuildmulti1" onclick="build2multi1()" style="display:none;">Sandwich bread x2 multiplier. Cost x</button>
  41.    
  42.     <button id="thirdbuildmulti1" onclick="build3multi1()" style="display:none;">Crouton maker x2 multiplier. Cost x</button>
  43.    
  44.     <script src="buildings.js"></script>
  45.    
  46.     <!-- make a div around all paragraphs displaying stats and display them -->
  47.     <div class="displayscores">
  48.       <div class="tab">
  49.         <button class="tablinks" onclick="switchtab(event, 'main')">Main Page</button>
  50.         <button class="tablinks" onclick="switchtab(event, 'stats')">Stats</button>
  51.         <button class="tablinks" onclick="switchtab(event, 'achievements')">Achievements</button>
  52.       </div>
  53.      
  54.       <div id="main" class="tabcontent">
  55.       <p id="pointdisplay"></p>
  56.       <p id="multidisplay"></p>
  57.       <p id="b1"></p>
  58.       <p id="b2"></p>
  59.       <p id="b3"></p>
  60.       <p id="b4"></p>
  61.       <p id="b5"></p>
  62.       <p id="b6"></p>
  63.       <p id="b7"></p>
  64.       <p id="ppstotal"></p>
  65.       </div>
  66.      
  67.       <div id="stats" class="tabcontent">
  68.       <p id="clickcount"></p>
  69.       <p id="pointsfromclick"></p>
  70.       <p id="totalpointcount"></p>
  71.       <p id="totalbuild"></p>
  72.       </div>
  73.      
  74.       <div id="achievements" class="tabcontent">
  75.       <!--<p id="idlater"></p>-->
  76.       <table height: 300px; width: 300px>
  77.         <tr>
  78.           <td align="center">Achievement has not been unlocked yet.</td>
  79.           <td align="center">Achievement has not been unlocked yet.</td>
  80.           <td align="center">Achievement has not been unlocked yet.</td>
  81.           <td align="center">Achievement has not been unlocked yet.</td>
  82.           <td align="center">Achievement has not been unlocked yet.</td>
  83.         </tr>
  84.         <tr>
  85.           <td align="center">Achievement has not been unlocked yet.</td>
  86.           <td align="center">Achievement has not been unlocked yet.</td>
  87.           <td align="center">Achievement has not been unlocked yet.</td>
  88.           <td align="center">Achievement has not been unlocked yet.</td>
  89.           <td align="center">Achievement has not been unlocked yet.</td>
  90.         </tr>
  91.         <tr>
  92.           <td align="center">Achievement has not been unlocked yet.</td>
  93.           <td align="center">Achievement has not been unlocked yet.</td>
  94.           <td align="center">Achievement has not been unlocked yet.</td>
  95.           <td align="center">Achievement has not been unlocked yet.</td>
  96.           <td align="center">Achievement has not been unlocked yet.</td>
  97.         </tr>
  98.         <tr>
  99.           <td align="center">Achievement has not been unlocked yet.</td>
  100.           <td align="center">Achievement has not been unlocked yet.</td>
  101.           <td align="center">Achievement has not been unlocked yet.</td>
  102.           <td align="center">Achievement has not been unlocked yet.</td>
  103.           <td align="center">Achievement has not been unlocked yet.</td>
  104.         </tr>
  105.       </table>
  106.       </div>
  107.     </div>
  108.     </body>
  109.     </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement