Skip to content

Commit 0839f57

Browse files
committed
updated data
1 parent 7d6bc32 commit 0839f57

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

data.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
export const userData = [
2-
{ label: "Name", key: "name" },
32
{ label: "Username", key: "login" },
43
{ label: "Public Repositories", key: "public_repos" },
54
{ label: "Followers", key: "followers" },

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ <h1>Find The Github Account!</h1>
3333
</div>
3434
</div>
3535
</div>
36-
<script src="./index.js" type="module" defer></script>
36+
<script type="module" src="./index.js" defer></script>
3737
</body>
3838
</html>

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { userData } from "./data";
1+
import { userData } from "./data.js";
22

33
const searchBtn = document.querySelector(".search-btn");
44

0 commit comments

Comments
 (0)