-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (49 loc) · 1.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quote Generator</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" integrity="sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog==" crossorigin="anonymous" />
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<i class="fa fa-quote-left" id="quotes"></i>
<h1>Quote Generator</h1>
<i class="fa fa-heart" id="heart"></i>
</header>
<div class="quote-container" id="quote-container">
<!-- Error -->
<div class="error" id="error"></div>
<!-- Quote -->
<div class="quote-text">
<i class="fas fa-quote-left"></i>
<span id="quote">He who conquers others is strong; He who conquers himself is mighty.</span>
</div>
<!-- Author -->
<div class="quote-author">
~ <span id="author">Lao Tzu</span> ~
</div>
<!-- Buttons -->
<div class="button-container">
<button class="twitter-button" id="twitter" title="Tweet This!">
<i class="fab fa-twitter"></i>
</button>
<button class="favorite" id="favorite" title="Add favorite">
Add to favorites
</button>
<button id="new-quote" title="New Quote">
<i class="fas fa-redo"></i>
</button>
</div>
</div>
<main>
</main>
<!-- Loader -->
<div class="loader" id="loader"></div>
<!-- Script -->
<script src="script.js"></script>
<script src="favorites.js"></script>
</body>
</html>