Skip to content

Commit a7b1d2a

Browse files
committed
Refactor index.html for improved structure and styling
1 parent de6889c commit a7b1d2a

1 file changed

Lines changed: 22 additions & 13 deletions

File tree

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Title here</title>
7-
<script defer src="quotes.js"></script>
8-
</head>
9-
<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>
14-
</body>
15-
</html>
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Quote generator app</title>
8+
<link rel="stylesheet" href="style.css" />
9+
</head>
10+
11+
<body>
12+
<main class="quote-container">
13+
<blockquote class="quote-box">
14+
<p id="quote"></p>
15+
<p id="author"></p>
16+
</blockquote>
17+
<button id="new-quote">New quote</button>
18+
</main>
19+
20+
<!-- Connect your JavaScript file -->
21+
<script src="quotes.js"></script>
22+
</body>
23+
24+
</html>

0 commit comments

Comments
 (0)