-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainpage.html
26 lines (26 loc) · 1.52 KB
/
mainpage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub User</title>
<link href="css/mainpage.css" type="text/css" rel="stylesheet" >
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
<center><h1 id="text" class="text-center mt-5">GitFetch - User Information Provider</h1><br>
<h4 id="text1">Check out the repos, followers and more details just by entering the user name !!!</h4></br>
<form id="gitHubForm" style="width: 350px">
<div class="input-name">
<i class="fa fa-user lock"></i>
<input id="usernameInput" class="form-control mb-5" type="text" name="username" placeholder="GitHub Username" required>
</div></form>
<button onclick="requestUserInfo()" id="btn" class="btn">UserInfo</button>
<button onclick="requestUserRepos()" id="btn" class="btn">Repositories</button>
</center><br>
<ul id="userRepos" class="list-group mx-auto mb-5" style="width: 650px">
</ul>
<script src="js/mainpage.js"></script>
</body>
</html>