Skip to content

Commit 1f67ca1

Browse files
Merge pull request #1705 from ak-sh-at/github
github profile wrapper modified
2 parents 056cd4e + 5b79f61 commit 1f67ca1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Projects/Github Profile Wrapper/script.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ document.getElementById("search-btn").addEventListener("click", async () => {
1010
getProfileDetails(data);
1111
}
1212
else {
13+
alert("Input is empty! Please enter a github username");
14+
}
1315
}
14-
});
16+
);
1517

1618
function getProfileDetails(profileData) {
1719
var profileDetails = {

0 commit comments

Comments
 (0)