Overview

In this codelab, you’ll learn how to search for GitHub users by their username using JavaScript and GitHub’s API. You’ll create a simple interface where users can input a username, and JavaScript will make a request to the GitHub API to fetch user details such as profile information, repositories, and followers. The data will then be displayed on the webpage. This codelab teaches how to interact with APIs, process JSON data, and dynamically update the user interface. By the end, you'll have the skills to integrate API calls and build data-driven web applications.

JavaScript
Beginner

GitHub Profile Search with Vanilla JavaScript

Codelab on GitHub Search Users By Username in JavaScript using GitHub APIs.

Published At: December 6, 2024

Last Updated At: June 10, 2025

1 Likes

Author

Vrijraj Singh

@vrijraj

Get Started with Gradus

Join the Gradus and create codelabs to help developers grow, enhance their skills, and contribute to building a stronger developer ecosystem within your network.

Sign Up Now Sign In