forked from bstashchuk/random-quotes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (35 loc) · 1.19 KB
/
index.html
File metadata and controls
36 lines (35 loc) · 1.19 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Random Quotes</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="container">
<h1>Random Quotes</h1>
<div id="quote" class="quote">
<p id="quote-text" class="quote-text">
Click the button to get a random quote
</p>
<p id="quote-author" class="quote-author"></p>
<button id="random-quote-btn" class="btn btn-primary">
Get random quote
</button>
<i id="quote-favorite-btn" class="far fa-star star-icon"></i>
</div>
</div>
<div class="favorites-container" id="favorites-container">
<!-- Favorite quotes will be dynamically added here -->
</div>
<script type="module" src="index.js"></script>
</body>
</html>