Last active
August 15, 2016 06:36
-
-
Save JeffreyBPetersen/5cc7535dda4fbd4e685a825edacb0c14 to your computer and use it in GitHub Desktop.
What I like to start with for making a new webpage.
This file contains 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> | |
<link href='index.css' rel='stylesheet'></link> | |
<script src='index.js' defer></script> | |
</head> | |
<body> | |
hello | |
</body> | |
</html> |
This file contains 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
body { | |
align-items: center; | |
display: flex; | |
flex-direction: column; | |
justify-content: center; | |
margin: 0; | |
min-height: 100vh; | |
} |
This file contains 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
// main | |
(() => { | |
console.log(document.body.innerText); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
View here