Last active
May 22, 2021 08:07
-
-
Save akionsight/4e315c4e0e3e25783fd2048f4b38e82a to your computer and use it in GitHub Desktop.
I love time, made for samuel miller "i roast your stupid code" see hosted netlify link below or click https://ilovetime.netlify.app
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 lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<!-- <link rel="stylesheet" href="style.css" /> --> | |
<!-- <script src="main.js" defer></script> --> | |
<title>#I LOVE TIME</title> | |
</head> | |
<body> | |
<div id="timer">0</div> | |
<script> | |
const time = document.getElementById('timer') | |
function increment() { | |
time.innerHTML++ | |
} | |
setInterval(increment, 50); | |
</script> | |
<style> | |
#timer { | |
font-size: 500px; | |
text-align: center; | |
} | |
</style> | |
</body> | |
</html> |
Submitting the same for the second vid cuz the first one didn't got shown in the video
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To view the site visit https://ilovetime.netlify.app/