Cristiano Magro
2024-12-26 4a01d95d25a6c59e20618365ba675a4d0736080d
commit | author | age
14370b 1 <!DOCTYPE html>
CM 2 <html lang="en">
3   <head>
4     <meta charset="UTF-8" />
5     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6     <title>Vue Basics</title>
7     <link
8       href="https://fonts.googleapis.com/css2?family=Jost:wght@400;700&display=swap"
9       rel="stylesheet"
10     />
11     <link rel="stylesheet" href="styles.css" />
4a01d9 12     <script src="https://unpkg.com/vue@3.4.9/dist/vue.global.js"></script>
14370b 13     <script src="app.js" defer></script>
CM 14   </head>
15   <body>
16     <header>
17       <h1>Monster Slayer</h1>
18     </header>
19     <div id="game">
20       <section id="monster" class="container">
21         <h2>Monster Health</h2>
22         <div class="healthbar">
23           <div class="healthbar__value"></div>
24         </div>
25       </section>
26       <section id="player" class="container">
27         <h2>Your Health</h2>
28         <div class="healthbar">
29           <div class="healthbar__value"></div>
30         </div>
31       </section>
32       <section id="controls">
33         <button>ATTACK</button>
34         <button>SPECIAL ATTACK</button>
35         <button>HEAL</button>
36         <button>SURRENDER</button>
37       </section>
38       <section id="log" class="container">
39         <h2>Battle Log</h2>
40         <ul></ul>
41       </section>
42     </div>
43   </body>
44 </html>