Skip to content

Instantly share code, notes, and snippets.

@akionsight
Last active May 22, 2021 08:07
Show Gist options
  • Save akionsight/4e315c4e0e3e25783fd2048f4b38e82a to your computer and use it in GitHub Desktop.
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
<!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>
@akionsight
Copy link
Author

To view the site visit https://ilovetime.netlify.app/

@akionsight
Copy link
Author

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