Created
September 9, 2016 13:15
-
-
Save sabliran/570ab947370cb55943bc9d25f0534c1f to your computer and use it in GitHub Desktop.
x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| body { | |
| color: white; | |
| } | |
| div { | |
| background: url(x.jpg); | |
| background-size: 20px 60px; | |
| background-repeat: no-repeat; | |
| } | |
| </style> | |
| <title>Robots will govern.</title> | |
| </head> | |
| <center><body background="x.jpg" background-size: 80px 60px;> | |
| <!-- https://sabliran.github.io/sabliran/ --> | |
| <h1>As I said.. Feed capitalism everyone does, just be well aware of what it does to your world --faidra tzedakis</h1> | |
| <button onclick="myFunction()">Time</button> <!-- this is button that calls the function --> | |
| <button onclick="myFunction1()">NY time</button> | |
| <p id="ex">I dont know what to do with my life so im making this shit.. </p> <!-- yes i am so noob --> | |
| <p id="ex1">...asdasda..</p> | |
| <script> //javascript | |
| function myFunction() { | |
| var eightHours = 8; | |
| var wra = Number(prompt("what time will you sleep?")); | |
| { | |
| document.getElementById("ex").innerHTML = | |
| "the time you will sleep (" + wra + ") And you must get up at (" +Number (wra + eightHours) + ")"; | |
| } | |
| window.alert ("You must get up at " +Number (wra + eightHours)); | |
| } | |
| function myFunction1() { | |
| var hex = 6; | |
| var wra1 = Number(prompt("berlin time?")); | |
| { | |
| } | |
| window.alert ("new york time is " +Number (wra1 + hex)); | |
| } | |
| </script> | |
| </body></center> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment