GitHub User Search App – Day 3
What I Worked On
Today I continued working on the GitHub User Search App and successfully completed the entire project! 🎉
This includes designing the layout, integrating the API, and even implementing the dark mode toggle.
Tasks Completed:
-
Connected the GitHub Users API using
fetch()
in JavaScript -
Displayed real-time user data including:
-
Profile picture, username, join date, bio
-
Repo count, followers, following
-
Location, blog, Twitter, and company info
-
-
Styled the layout using CSS for a clean and responsive UI
-
Implemented dark mode toggle with a smooth switch
-
Handled invalid usernames with a “User not found” message
-
Polished the UI for desktop and mobile views
What I Learned
-
How to fetch data from APIs and display it dynamically on the page
-
How to update the DOM with user-provided input
-
Improved my CSS styling and layout structuring using Flexbox
-
Gained clarity on how to handle different data cases from APIs
-
Understood better error handling and conditional rendering in JS
Challenges Faced
-
Faced some confusion while extracting and displaying all fields from the API response.
-
Referred to ChatGPT and MDN Docs to overcome blocks
Gracias
Grateful for this mini project! It helped me connect all the dots — from HTML structure, CSS design, to JavaScript logic.
~Sanya
Comments
Post a Comment