Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

50Projects-HTML-CSS-JavaScript : GitHub profile finder #30

Merged
merged 9 commits into from
Jul 29, 2024

Conversation

tajulafreen
Copy link
Owner

Summary:

  • Added functionality to fetch and display GitHub user information.
  • Integrated GitHub API to retrieve user data based on input username.
  • Displayed user profile picture, name, username, bio, repository count, followers, and following count.

Changes:

  • Created fetchUser function to handle API requests and process user data.
  • Updated DOM elements to dynamically display fetched user information.
  • Added error handling for non-existent usernames and empty input fields.
  • Improved user interface for better data presentation.
  • Utilized addEventListener for search button click event to initiate data fetch.

Enhancements:

  • Ensured clean and maintainable code structure.
  • Enhanced error handling for better user feedback.
  • Optimized input handling by trimming whitespace and resetting input field post-search.
  • Included default messages for cases where user bio is unavailable.

@tajulafreen tajulafreen merged commit 0de0ac9 into main Jul 29, 2024
5 checks passed
@tajulafreen tajulafreen deleted the Github_Profile_Finder branch July 29, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant