-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (75 loc) · 3.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quote Generator</title>
<link rel="icon" type="image/png" href="favicons/quotes.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="navBar">
<div class="nav">
<button class="nav-btn" id="homeBtn" title="my Home Page"> home <i class="fas fa-home"></i></button>
</div>
<div class="nav">
<button class="nav-btn" id="show-favourites" title="Show My Favourites"> favorite <i class="fas fa-heart"></i></button>
</div>
</div>
<div class="page" id="page-container">
<main class="main-container">
<div class="quote-container" id="favourites-container">
</div>
<div class="quote-container" id="quote-container">
<!-- Quote -->
<div class="quote-text">
<!-- to adjust size of our quotes or fonts -->
<i class="fas fa-scroll"></i>
<i class="fas fa-quote-left"></i>
<span id="quote"></span>
<i class="fas fa-quote-right"></i>
</div>
<!-- Author -->
<div class="quote-author">
<span id="author"></span>
<i class="fas fa-pen-nib"></i>
</div>
<!-- Buttons -->
<div class="button-container">
<button class="twitter-button" id="twitter" title="Tweet This!">
<i class="fab fa-twitter icon"></i>
</button>
<div id="icon-wrap">
<i class="fas fa-heart icon" id="favourite" title="Add to my Favourites" onclick="addQuoteToFavourites()"></i>
</div>
<button class="new-quote-button" id="new-quote" onclick="newQuote()">New Quote</button>
</div>
</div>
<!-- Loader -->
<div class="loader-wrapper">
<div class="loader" id="loader"></div>
</div>
</main>
<!-- Footer -->
<footer>
<p>Developed and Designed by Patrick Tonderai Ganhiwa, January 2022
<a href="https://www.linkedin.com/in/patrick-ganhiwa-369aaa13a/" title=""LinkedIn>
<img src="favicons/linkedIn_logo.png" alt="LinkedIn">
</a>
<a href="https://github.com/Pats101?tab=repositories/" title="Github">
<img src="favicons/github_logo.png" alt="GitHub">
</a>
</p>
</footer>
</div>
<!-- Script -->
<!-- JQuery -->
<script src="jquery-3.5.1.js"></script>
<!-- Local Quotes -->
<script src="quotes.js"></script>
<!-- API Quotes -->
<script src="script.js"></script>
</body>
</html>