1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+
4
+ < head >
5
+ < meta charset ="UTF-8 ">
6
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
7
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
8
+ <!-- <link rel="stylesheet" href="./styles/style.css"> -->
9
+ <!-- <link rel="stylesheet" href="./styles/bootstrap.min.css"> -->
10
+
11
+ <!-- Bootstrap CSS CDN -->
12
+ < link href ="
https://cdn.jsdelivr.net/npm/[email protected] /dist/css/bootstrap.min.css "
rel ="
stylesheet "
13
+ integrity ="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC " crossorigin ="anonymous ">
14
+
15
+ < title > Bhagawat Geeta Sloka</ title >
16
+
17
+ < style >
18
+ /* @import url('https://fonts.googleapis.com/css2?family=Yatra+One&display=swap'); */
19
+ /* @import url('https://fonts.googleapis.com/css2?family=Eczar&display=swap'); */
20
+ @import url ('https://fonts.googleapis.com/css2?family=Eczar&family=Noto+Sans+Devanagari:wght@200;400;600&display=swap' );
21
+
22
+
23
+ body {
24
+ /* width: 420px;
25
+ height: 400px; */
26
+ font-family : 'Noto Sans Devanagari' , sans-serif;}
27
+
28
+ div .sloka-container {
29
+ /* background:linear-gradient(189deg,#fff 19%,#f7fffa 50%);*/
30
+ color : # 4f4141 ;
31
+ }
32
+
33
+ img {
34
+ width : 200pt ;
35
+ opacity : +.98
36
+ }
37
+
38
+ /* h2 {
39
+ font-family: 'Yatra One', cursive;
40
+ } */
41
+
42
+ h3 {
43
+ line-height : 23pt ;
44
+ /* font-family: 'Yatra One', cursive; */
45
+ margin : 10px ;
46
+ color : # 4f4141 ;
47
+ font-weight : 600 ;
48
+ }
49
+
50
+ center {
51
+ padding : 0 25px
52
+ }
53
+
54
+ p {
55
+ font-size : 15px ;
56
+ }
57
+
58
+ footer p {
59
+ font-size : 10px ;
60
+ }
61
+ </ style >
62
+ </ head >
63
+
64
+ < body ">
65
+ < div class ="container text-center my-auto ">
66
+ < div class ="col-6 mx-auto ">
67
+ < h2 class ="p-2 "> Bhagavad Gita Sloka Fetcher</ h2 >
68
+ < img src ="https://bhagavadgitaapi.in/slok/krishna.png " alt ="">
69
+ < br >
70
+ < p > Get the desired sloka from Gita </ p >
71
+ < form >
72
+ < div class ="row d-flex justify-content-center ">
73
+ < div class ="col-4 ">
74
+ <!-- <label class = "form-label" for="chapter">Select Chapter </label> -->
75
+ < select class ="form-control " id ="chapter " name ="chapter " required >
76
+ < option value ="" selected ="selected "> Select a Chapter</ option >
77
+ </ select >
78
+ </ div >
79
+ < div class ="col-4 ">
80
+ <!-- <label class = "form-label" for="sloka">Select Sloka</label> -->
81
+ < select class ="form-control " id ="sloka " min ="1 " required >
82
+ < option value ="" selected ="selected "> Select a Sloka</ option >
83
+ </ select >
84
+ </ div >
85
+ </ div >
86
+ < div class ="pt-2 col-12 p-3 ">
87
+ < button class ="btn btn-danger " type ="submit "> Fetch Sloka</ button >
88
+ </ div >
89
+
90
+ </ form >
91
+ < div class ="text-center p-2 sloka-container " id ="sloka-container "> </ div >
92
+
93
+ < footer class ="p-2 ">
94
+ < p > Made with 🙏 by Dhiraj Raut. < br >
95
+ Fetched from < a href ="https://bhagavadgitaapi.in/ " target ="_blank "> @BhagavadGitaApi</ a > </ p >
96
+ </ footer >
97
+ </ div >
98
+ </ div >
99
+
100
+
101
+ < script src ="script.js "> </ script >
102
+
103
+ <!-- Bootstrap Bundle with Popper -->
104
+ < script src ="
https://cdn.jsdelivr.net/npm/[email protected] /dist/js/bootstrap.bundle.min.js "
105
+ integrity ="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM "
106
+ crossorigin ="anonymous "> </ script >
107
+
108
+ </ body >
109
+
110
+ </ html >
0 commit comments