Skip to content

Commit 5b79f61

Browse files
committed
github profile wrapper modified
1 parent 90e128f commit 5b79f61

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)