Skip to content

Commit 26a472c

Browse files
committed
feat html: update structure for quote generator app
1 parent 2c5d12f commit 26a472c

File tree

1 file changed

+30
-5
lines changed

1 file changed

+30
-5
lines changed

Sprint-3/quote-generator/index.html

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,38 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Title here</title>
6+
<title>Quote generator app</title>
7+
<!-- Preconnect for fonts -->
8+
<link rel="preconnect" href="https://fonts.googleapis.com" />
9+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
10+
<link
11+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;800&display=swap"
12+
rel="stylesheet"
13+
/>
14+
15+
<link rel="stylesheet" href="style.css" />
716
<script defer src="quotes.js"></script>
17+
<script defer src="app.js"></script>
818
</head>
919
<body>
10-
<h1>hello there</h1>
11-
<p id="quote"></p>
12-
<p id="author"></p>
13-
<button type="button" id="new-quote">New quote</button>
20+
<div class="container">
21+
<h1>Quote generator app</h1>
22+
<p id="quote"></p>
23+
<p id="author"></p>
24+
25+
<div class="controls">
26+
<button type="button" id="new-quote">New Quote</button>
27+
28+
<div class="auto-play-container">
29+
<span class="switch-label">Auto-play</span>
30+
<label class="switch">
31+
<input type="checkbox" id="auto-play-switch" />
32+
<span class="slider"></span>
33+
</label>
34+
</div>
35+
36+
<div id="auto-play-status" class="status-indicator">auto-play: ON</div>
37+
</div>
38+
</div>
1439
</body>
1540
</html>

0 commit comments

Comments
 (0)