diff --git a/script.js b/anilist.js similarity index 97% rename from script.js rename to anilist.js index c318f4a..f46161f 100644 --- a/script.js +++ b/anilist.js @@ -39,7 +39,7 @@ fetch("https://graphql.anilist.co", options) }); }) .then(data => { - const container = document.querySelector(".activities"); + const container = document.querySelector("#anime"); container.innerHTML = ""; const activities = data.data.Page.activities; let displayedIds = []; @@ -83,4 +83,4 @@ fetch("https://graphql.anilist.co", options) .catch(error => { document.querySelector(".activities").innerHTML = "Failed to load!"; console.error(error); - }); \ No newline at end of file + }); diff --git a/index.html b/index.html index f700cbd..0596b59 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,8 @@ Elnu's Homepage - + +