A vanilla JavaScript project that fetches and displays live GitHub user data using the GitHub REST API.
Enter any GitHub username and instantly see their profile card — avatar, name, and followers count. Built with zero frameworks — pure HTML, CSS and JavaScript.
- Fetches live data from GitHub REST API
- Displays avatar, name and followers dynamically
- DOM manipulation — creates elements programmatically
- Input validation — empty input alert
- Error handling — invalid username detection
- API rate limit exceeded — user-friendly alert
HTML | CSS | JavaScript | XMLHttpRequest (XHR) | GitHub REST API
- How to make API calls using XMLHttpRequest
- DOM creation and manipulation with JavaScript
- Event handling with addEventListener
- JSON parsing with JSON.parse()
- readyState and onreadystatechange in XHR
# Just open index.html in browser — no setup needed Ashish Kumar Shukla
MCA Student — Kristu Jayanti University, Bengaluru
- GitHub: https://github.com/ashish8112
- Email: [email protected]
- LinkedIn: https://www.linkedin.com/in/ashish-shukla81/
- LeetCode: https://leetcode.com/u/ashish-shukla81/