@benbenn/

AVOID

HTML, CSS, JS

No description

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
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>repl.it</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/processing.js/1.4.8/processing.min.js"></script>
    <link href="style.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
      <div id = "heading">
      <h1 id = "title">This is my best game ever!</h1>

      <h3 id = "posted">Last edited 28.03.2019 by Benjamin Hinz</h3>
          </div>
        

    <canvas id = "canvas"> </canvas>
    <script src="script.js"></script>

    <div id = "howimadeit">
        <h3 id ="howtitle">How i made it:
            </h3>
        <p id = "descriptiontext">I made this game on <a href = "https://nb.khanacademy.org/">Khan Academy</a>, where i first learned to code. There you use commands to make different shapes on the screen, and the screen instantly changes when you change the code. Then i had a cool game. But then i saw a project on the projects list ("Khan Academy is a learning community"), of someone who had learnt to take the code out of Khan Academy and unto <a href = "https://no.wikipedia.org/wiki/HTML">HTML</a>, which every browser understands. I made a spin off (a copy giving creds to the author), and did some stuff. So i could take the game code, paste it inside the HTML, and it worked. It only needed a little modifications. SMILEYFACE!!!<p>
    </div>
    <div id = "sources">
    <a href = "https://nb.khanacademy.org/computing/computer-programming" class = "thanks">>Here i learned to code with JS and CSS and HTML</a><br>

    <a href = "https://www.khanacademy.org/profile/michaelbasaj/" class = "thanks">>Thanks to michaelbasaj for the code to get the game to a webpage</a>
    </div>


  </body>
</html>
result
console