Skip to content

Instantly share code, notes, and snippets.

@cferdinandi
Created January 17, 2019 19:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cferdinandi/876b2201a6d91db8495d7ec4edfc4f82 to your computer and use it in GitHub Desktop.
Save cferdinandi/876b2201a6d91db8495d7ec4edfc4f82 to your computer and use it in GitHub Desktop.
GitHub repo project template from https://learnvanillajs.com.

Project Details

Use the GitHub API to get a list of repositories for a user and list them on a web page.

Bonus: Display the last three commits for each repository below it.

Considerations

  • How many repositories will you list? All of them, or a just the last few?
<!DOCTYPE html>
<html>
<head>
<title>Project Template</title>
<style type="text/css">
body {
margin-left: auto;
margin-right: auto;
max-width: 40em;
width: 88%;
}
</style>
</head>
<body>
<h1>GitHub Repos</h1>
<div id="app"></div>
<script>
// Project code...
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment