A modern and responsive web application that fetches and displays GitHub user data using the GitHub REST API.
This project demonstrates API integration, dynamic DOM rendering, theme persistence using LocalStorage, and structured UI state management using Vanilla JavaScript.
GitHub User Search allows users to search for any public GitHub profile and view essential information such as repositories, followers, bio, and social links.
The application is built entirely with HTML, CSS, and Vanilla JavaScript without any frameworks, focusing on clean architecture, DOM manipulation, and asynchronous API handling.
-
404 (User not found)
-
Network errors
-
Public repositories
-
Followers
-
Following
-
Blog
-
Twitter
-
HTML5
-
CSS3
-
Flexbox
-
CSS Grid
-
Vanilla JavaScript (ES6+)
-
Fetch API
-
LocalStorage API
-
GitHub REST API
This project highlights:
-
Working with third-party REST APIs
-
Handling asynchronous operations using async/await
-
Dynamic DOM creation and structured UI rendering
-
UI state management (Loading / Success / Error states)
-
Conditional rendering based on API data
-
Persistent theme storage using LocalStorage
-
Responsive UI design without external libraries
github-user-search/
│
├── index.html
│
├── CSS/
│ ├── style.css
│ ├── normalize.css
│ └── all.min.css
│
├── JS/
│ └── main.js
│
└── README.md
Data is fetched from:
https://api.github.com/users/{username}
Official documentation: https://docs.github.com/en/rest
🚀 Live Application:
Open Live Demo
Clone the repository:
git clone https://github.com/your-username/github-user-search.git
Open index.html in your browser.
No build tools or dependencies required.
-
Add repository list preview
-
Add pagination support
-
Add search history
-
Improve accessibility (ARIA roles)
-
Add unit testing
Abd Almoen Albarbari
Frontend Developer

