-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (54 loc) · 2.22 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
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<title>Random Hadith | Learn a new Hadith with button click</title>
</head>
<body>
<div id="wrapper">
<div id="logo-container">
<h2 id="logo">﷽</h2>
</div>
<div id="content">
<p id="header"></p>
<p id="hadith-text"></p>
<h5 id="book"></h5>
<div id="wrapper">
<div id="random">
<select id="randomHadith">
<option value="bukhari">Bukhari</option>
<option value="muslim">Muslim</option>
<option value="abudawud">Abu Dawud</option>
<option value="ibnmajah">Ibn Majah</option>
<option value="tirmidhi">Tirmidhi</option>
</select>
<button id="randomBtn">Generate Random</button></br>
</div>
<div id="custom">
<input id="customInput" placeholder="Enter Hadith Number"></input>
<select id="customHadith">
<option value="bukhari">Bukhari</option>
<option value="muslim">Muslim</option>
<option value="abudawud">Abu Dawud</option>
<option value="ibnmajah">Ibn Majah</option>
<option value="tirmidhi">Tirmidhi</option>
</select>
</div>
<button id="customBtn">Generate Custom</button></br>
</div>
</div>
<footer>
<a href="https://github.com/salman0ansari/Random-Hadith-Generator" target="_blank">
View project on GitHub<img src="external-link.svg" alt="External Link">
</a>
<a href="https://random-hadith-generator.vercel.app/" target="_blank">
View API Docs<img src="external-link.svg" alt="External Link">
</a>
</footer>
</div>
<script src="app.js"></script>
</body>
</html>