repl.it
@remarkablemark/

repl.it clicker

HTML, CSS, JS

https://repl.it/talk/challenge/replit-clicker/13259

fork
loading
Files
  • index.html
  • script.js
  • style.css
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
42
43
44
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>Repl.it Clicker</title>
    <link href="style.css" rel="stylesheet" type="text/css">
  </head>
  <body>
    <header id="message">Repl.it is online but there is no activity</header>
    <main>
      <p id="counter">0</p>
      <p>
        <button id="button" title="repl.it">
          <img src="https://repl.it/public/images/logo-small.png" alt="repl.it" width="200">
        </button>
      </p>

      <table>
        <thead>
          <tr>
            <th></th>
            <th>Cost</th>
            <th>Next Output</th>
            <th>Current Output</th>
          </tr>
        </thead>
        <tbody id="store">
          <tr id="upgrade">
            <td>
              <button disabled title="repl.it" style="background-image:url(https://avatars2.githubusercontent.com/u/983194?s=50)"></button>
              <span class="owned"></span>
            </td>
            <td class="cost"></td>
            <td class="output-next"></td>
            <td class="output-current"></td>
          </tr>
        </tbody>
      </table>
    <main>

    <script src="script.js"></script>
  </body>
</html>
result
console
?