-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (44 loc) · 1.36 KB
/
index.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="mobile-web-app-capable" content="yes">
<title>Github Search</title>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="shortcut icon" type="image/png" href="github-logo-face.png">
<!-- Inserts glyphicons -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css">
</head>
<body>
<div class="container">
<h1>Find your profile on github</h1>
<div>
<input type="search" name="search" id="search" class="search" placeholder="Search username..." value="">
<button id="search-button" class="search-button">Search</button>
</div>
<div id="exist" class="hidden width">
<div class="flex">
<div class="flex">
<img id="avatar" class="avatar" alt="User's avatar" />
</div>
<div class="user-details">
<p id="userName" class="user-name"></p>
<p id="name" class="name"></p>
<p id="bio" class="bio"></p>
</div>
</div>
<div>
<h4>Repositories</h4>
<ul id="list">
</ul>
</div>
</div>
<div id="notExist" class="error-div hidden">
<p>User does not exist</p>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="script.js"></script>
</body>
</html>