This project is a simple web page that allows users to enter a GitHub username and retrieve the user's data using the GitHub API. It is built with HTML
, CSS
, and JavaScript
.
- Input GitHub username.
- Fetch and display user data from the GitHub API.
- Display user's name, bio, location, public repositories, followers, and following count.
- Styled with CSS for a clean and modern look.
Check out the live demo here.
- Clone the repository:
git clone https://github.com/Swadesh-c0de/github-user-info.git
- Navigate to the project directory:
cd github-user-info
- Open
index.html
in your web browser:
- Enter a GitHub username in the input field.
- Click the "Get User Info" button.
- User information will be displayed on the page
-
HTML: Structure of the web page.
-
CSS: Styling of the web page.
-
JavaScript: Fetching data from the GitHub API and updating the DOM.
-
index.html
: The main HTML file. -
styles.css
: The CSS file for styling. -
script.js
: The JavaScript file containing the fetch and DOM manipulation logic.
Contributions are welcome! Please feel free to submit a pull request or open an issue for any bugs or feature requests.