-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (44 loc) · 1.63 KB
/
index.html
File metadata and controls
52 lines (44 loc) · 1.63 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
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>Simple Text Resizer</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="icon" type="image/x-icon"
href="https://img.icons8.com/external-tal-revivo-shadow-tal-revivo/24/external-resize-font-size-in-text-document-application-text-shadow-tal-revivo.png">
</head>
<body>
<div class="container">
<div class="header">
<h1><i class="fas fa-text-height"></i> Text Resizer</h1>
<button class="theme-toggle" id="themeToggle" aria-label="Toggle theme">
<i class="fas fa-moon"></i>
</button>
</div>
<div class="size-indicator">
Current Size: <span class="size-value" id="sizeDisplay">20px</span>
</div>
<div class="text-display">
<p id="text">Resize this text using the buttons below. Experience smooth animations and beautiful design!
</p>
</div>
<div class="controls">
<button id="decrease">
<i class="fas fa-minus"></i>
Decrease
</button>
<button id="increase">
<i class="fas fa-plus"></i>
Increase
</button>
</div>
<button class="reset-btn" id="reset">
<i class="fas fa-undo"></i>
Reset to Default
</button>
</div>
<script src="script.js"></script>
</body>
</html>