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.
- How many repositories will you list? All of them, or a just the last few?
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.
<!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> |