-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (27 loc) · 1.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>GitHub Repositories Viewer</title>
</head>
<body>
<header>
<h1>GitHub Repositories Viewer</h1>
</header>
<section>
<form id="githubForm">
<label for="username">GitHub Username:</label>
<input type="text" id="username" name="username" required>
<input type="text" id="searchBar" placeholder="Search repositories..." oninput="filterRepositories()">
<button type="button" onclick="getUserDetails()">Get User Details</button>
</form>
<div id="userDetails" class="user-details"></div>
<div id="loader" class="loader" style="display: none;"></div>
<ul id="repositoriesList"></ul>
<div id="pagination" class="pagination"></div>
</section>
<script src="script.js"></script>
</body>
</html>