This github user application allows users to search for Github profiles and view their details using GitHub API. The application provides an interface to enter a username an fetch information about that user, including their profile picture, login name, public repositories, followers, and following count.
-
Search Functionality: Allows users to search for GitHub profiles by entering a username.
-
Profile Display: Shows the user's avatar, login name, public repositories count, followers count, and following count.
-
Error Handling: Displays appropriate error messages if the user is not found or if the input is invalid.
-
HTML: For the structure of the web page.
-
CSS: For styling the application.
-
JavaScript: For handling user interactions and fetching data from the GitHub API.
-
GitHub API: To retrieve user data.
- A modern web browser (e.g., Chrome, Firefox)
- A code editor (e.g., Visual Studio Code)
- Basic knowledge of HTML, CSS, and JavaScript
- Clone the Repository
git clone https://github.com/yourusername/github-user-search-app.git
-
Open the Application
-
Open index.html in your web browser.
-
Search for a GitHub User
-
Enter a GitHub username in the input field and click the "Search" button.
-
View User Details
-
If the user exists, their profile information will be displayed. If the user is not found or an error occurs, an appropriate message will be shown.