Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (53 loc) · 1.83 KB
/
Copy pathindex.html
File metadata and controls
69 lines (53 loc) · 1.83 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Github Repositories Listing</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Oswald:wght@300&display=swap" rel="stylesheet">
<!-- bootstrap icon (location) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css">
<style>
@media only screen and (max-width: 600px) {
/* CSS styles for small screens go here */
h3 {
font-size: 1.2rem;
}
}
</style>
</head>
<body>
<div class="container">
<form id="github-form" class="form">
<label>Github Username: <input type="text" id="username"></label>
<button type="submit" onclick="formSubmit()">Submit</button>
</form>
<div id="userNameDisplay"></div>
<!-- <div id="bio"></div> -->
<div id="image"></div>
<div id="repo-list" class="repo-list"></div>
<div id="loader" style="display: none;">Loading...</div>
<!-- <div id="repo-list"></div> -->
<div id="pagination">
<!-- <button class="next">Next</button> -->
</div>
</div>
<!-- making form disappear -->
<script>
function formSubmit() {
document.getElementById("github-form").style.display = "none";
}
</script>
<!-- jquery for above task -->
<!-- <script>
$(document).ready(function(){
$("#submit-btn").click(function(){
$("#github-form").hide();
});
});
</script> -->
<script src="main.js"></script>
</body>
</html>