repl.it
@SagaciousPan/

Text Adventure Version 0.2

HTML, CSS, JS

Moved To Web

fork
loading
Files
  • index.html
  • css
  • font
  • img
  • js
  • howtoplay.html
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Text Adventure</title>
    <link rel="icon" href="img/icon.png">
    <link rel="stylesheet" type="text/css" href="css/style.css">
</head>

<body>
    <div id="grid-container">
        <div id="head_div">
            <a href="howtoplay.html" target="_blank"><button>How to Play</button></a>
            <button>Settings</button>
        </div>
        <div id="top_div">
            <h1 style="text-align: center; font-family: MedievalSharp;">Text Adventure</h1>
        </div>
        <div id="left_div">
            <p style="font-size: 27; text-align: center;">STATS</p>
            <hr>
            <p>Health: <span id="health">100</span> %</p>
            <p>Energy: <span id="energy">100</span> %</p>
            <p>Money: <span id="money">0</span> rks</p>
        </div>
        <div id="main_div"></div>
        <div id="right_div">
            <p style="font-size: 27; text-align: center;">INVENTORY</p>
            <hr>
        </div>
        <div id="bottom_div"></div>
        <div id="foot_div">
            <p style="font-family: PoorStory;">Story: Saga | Design: Saga</p>
        </div>
    </div>
</body>
<script src="js/index.js"></script>

</html>
result
console