Skip to content

Commit bd7c3fb

Browse files
Kara HowesKara Howes
authored andcommitted
api for all repos added
1 parent ded93a5 commit bd7c3fb

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

code/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<title>Project GitHub Tracker</title>
7+
<title>Project GitHub Tracker- Kara Howes</title>
88
<link rel="stylesheet" href="./style.css" />
99
</head>
1010
<body>

code/script.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const repoURL = 'https://api.github.com/users/KaraHowes/repos'
2+
3+
fetch(repoURL)
4+
.then((response)=>{
5+
return response.json()
6+
})
7+
.then((data)=>{
8+
console.log('DATA', data)
9+
10+
})

code/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
body {
2-
background: #FFECE9;
2+
background-color: aquamarine;
33
}

0 commit comments

Comments
 (0)