-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
122 lines (115 loc) · 3.67 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!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" />
<meta
name="description"
content="Machine for Showing Random Quote, Sharing on Twitter, Tumblr and Facebook Comment Plugin Embedded."
/>
<meta
name="keywords"
content="random quote machine, quote machine, fcc, freecodecamp, lam pham, completejavascript"
/>
<title>Random Quote Machine - Lam Pham</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link rel="stylesheet" href="./css/main.css" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-96543695-6"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-96543695-6");
</script>
</head>
<body>
<!-- Facebook comment -->
<div id="fb-root"></div>
<script>
(function (d, s, id) {
var js,
fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src =
"https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.12";
fjs.parentNode.insertBefore(js, fjs);
})(document, "script", "facebook-jssdk");
</script>
<div class="main-container">
<header>
<h1 class="site-title">Random Quote Machine</h1>
<p class="site-description">
Welcome! Enjoy these cool random quotes below - using the
<a href="https://forismatic.com/en/api/" target="_blank"
>Forismatic API</a
>.
</p>
</header>
<section class="quote-container my-box-shadow my-transition">
<p class="quote-content">
<i class="fa fa-quote-left" id="quote-symbol"></i>
<span id="quote-text"
>Always be yourself, express yourself, have faith in yourself, do
not go out and look for a successful personality and duplicate
it.</span
>
</p>
<p class="quote-author">
<span id="quote-name">-- Bruce Lee</span>
</p>
</section>
<section class="btn-wrapper">
<span class="main-text">Share: </span>
<a
href="javascript:void(0);"
target="_blank"
class="my-box-shadow my-btn btn-share"
id="share-twitter"
><i class="fa fa-twitter"></i
></a>
<a
href="javascript:void(0);"
target="_blank"
class="my-box-shadow my-btn btn-share"
id="share-tumblr"
><i class="fa fa-tumblr"></i
></a>
<div class="my-btn btn-newquote my-box-shadow my-transition">
<span>New quote</span>
</div>
</section>
</div>
<section class="fb-comment-wrapper">
<!-- Comment section -->
<div
class="fb-comments"
data-href="http://about.phamvanlam.com/fcc-random-quote-machine"
data-width="380"
data-numposts="5"
data-mobile="true"
></div>
</section>
<!-- Footer -->
<footer>
<p>
Copyright © 2018 by
<a href="http://about.phamvanlam.com/" target="_blank">Lam Pham</a>. All
Rights Reserved.
</p>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="./js/main.js"></script>
</body>
</html>