click", () => {
   if (icon.classList.contains("fa-arrow-down")) {
    // scroll to bottom
    window.scrollTo({ top: document.documentElement.scrollHeight, behavior: "smooth" });
   } else {
    // scroll to top
    window.scrollTo({ top: 0, behavior: "smooth" });
   }
});


    // Load GitHub contributors
    async function loadContributors() {
      const container = document.getElementById('contributorsContainer');
      
      try {
        const response = await fetch('https://api.github.com/repos/Cha