-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (45 loc) · 1.93 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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Random Quote Generator By Kohrak</title>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<!-- Bootstrap's jQuery -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Font awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!--JS and CSS files-->
<script src="js/index.js"></script>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-header">
<a class="navbar-brand" href="#">Random Quote Generator By Kohrak</a>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="jumbotron">
<h2 class="text-center" id="quote">"Loading..."</h2>
<div class="row">
<div class="col-md-3 col-md-offset-8 col-sm-5 col-sm-offset-4">
<p class="text-center" id="name">-Kohrak</p>
</div>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-9 col-xs-6 col-xs-offset-7">
<button id="btn" class="btn btn-primary" onclick="jsonpRequest()">New Quote!</button>
<button id="btn2" class="btn btn-primary" onclick="tweet(globalQuote)"><i class="fa fa-twitter"></i></button>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>