Advertisement
ithortureu

Untitled

Aug 11th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 4.65 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.     <br>
  29.     <p><b>Upgrades:</b></p>
  30.    
  31.     <button id="btn_multiply" onclick="firstx2()" style="display:none;">x2 Multiplier. Cost: 100</button>
  32.    
  33.     <button id="multiply2" onclick="secondx2()" style="display:none;">x2 Multiplier. Cost: 1000</button>
  34.    
  35.     <button id="multiply3" onclick="thirdx2()" style="display:none;">x2 Multiplier. Cost: 5000</button>
  36.    
  37.     <button id="firstbuildmulti1" onclick="build1multi1()" style="display:none;">Sliced bread x2 multiplier. Cost x</button>
  38.    
  39.     <button id="secondbuildmulti1" onclick="build2multi1()" style="display:none;">Sandwich bread x2 multiplier. Cost x</button>
  40.    
  41.     <button id="thirdbuildmulti1" onclick="build3multi1()" style="display:none;">Crouton maker x2 multiplier. Cost x</button>
  42.    
  43.     <script src="buildings.js"></script>
  44.    
  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="b1"></p>
  57.       <p id="b2"></p>
  58.       <p id="b3"></p>
  59.       <p id="b4"></p>
  60.       <p id="b5"></p>
  61.       <p id="b6"></p>
  62.       <p id="b7"></p>
  63.       <p id="ppstotal"></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.     </body>
  108.     </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement