Advertisement
ithortureu

Untitled

Aug 11th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 4.72 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.  
  14.     <button id="addpoints"  onclick="addPoints()" background-color: red>Slice some bread!</button>
  15.    
  16.     <button id="firstbuild" onclick="build1()" style="display:none;">Bread slicer. Cost x</button>
  17.    
  18.     <button id="secondbuild" onclick="build2()" style="display:none;">Sandwich bread machine. Cost x</button>
  19.    
  20.     <button id="thirdbuild" onclick="build3()" style="display:none;">Crouton maker. Cost x</button>
  21.    
  22.     <button id="fourthbuild" onclick="build4()" style="display:none;">Roll factory. Cost x</button>
  23.    
  24.     <button id="fifthbuild" onclick="build5()" style="display:none;">Baguette oven. Cost x</button>
  25.    
  26.     <button id="sixthbuild" onclick="build6()" style="display:none;">Bagel production line. Cost x</button>
  27.    
  28.     <button id="seventhbuild" onclick="build7()" style="display:none;">Soft pretzel manufacturer. Cost x</button>
  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.     <!-- make a div around all paragraphs displaying stats and display them -->
  46.     <div class="displayscores">
  47.       <div class="tab">
  48.         <button class="tablinks" onclick="switchtab(event, 'main')">Main Page</button>
  49.         <button class="tablinks" onclick="switchtab(event, 'stats')">Stats</button>
  50.         <button class="tablinks" onclick="switchtab(event, 'achievements')">Achievements</button>
  51.       </div>
  52.      
  53.       <div id="main" class="tabcontent">
  54.       <p id="pointdisplay"></p>
  55.       <p id="multidisplay"></p>
  56.       <p id="ppstotal"></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.       </div>
  65.      
  66.       <div id="stats" class="tabcontent">
  67.       <p id="clickcount"></p>
  68.       <p id="pointsfromclick"></p>
  69.       <p id="totalpointcount"></p>
  70.       <p id="totalbuild"></p>
  71.       </div>
  72.      
  73.       <div id="achievements" class="tabcontent">
  74.       <!--<p id="idlater"></p>-->
  75.       <table height: 300px; width: 300px>
  76.         <tr>
  77.           <td align="center">Achievement has not been unlocked yet.</td>
  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.         </tr>
  83.         <tr>
  84.           <td align="center">Achievement has not been unlocked yet.</td>
  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.         </tr>
  90.         <tr>
  91.           <td align="center">Achievement has not been unlocked yet.</td>
  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.         </tr>
  97.         <tr>
  98.           <td align="center">Achievement has not been unlocked yet.</td>
  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.         </tr>
  104.       </table>
  105.       </div>
  106.     </div>
  107.    
  108.     <!--<div id="changes">
  109.      <p>Hello</p>
  110.    </div>-->
  111.     </body>
  112.     </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement