-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (57 loc) · 3.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A web tool for finding and replacing text in a given input. Customize search and replace options, download the modified text, and copy it to the clipboard.">
<meta name="keywords" content="find, replace, web tool, text modification, download text, copy to clipboard">
<meta name="author" content="Made By Devansh Yadav">
<meta property="og:type" content="website">
<meta property="og:url" content="">
<meta property="og:title" content="Find and Replace Tool">
<meta property="og:description" content="A web tool for finding and replacing text in a given input. Customize search and replace options, download the modified text, and copy it to the clipboard.">
<meta property="og:image" content="https://i.imgur.com/xRyRdsE.png">
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="">
<meta property="twitter:title" content="Find and Replace Tool">
<meta property="twitter:description" content="A web tool for finding and replacing text in a given input. Customize search and replace options, download the modified text, and copy it to the clipboard.">
<meta property="twitter:image" content="https://i.imgur.com/xRyRdsE.png">
<title>Find and Replace Tool - Web Tool for Text Modification</title>
<link rel="shortcut icon" href="https://i.imgur.com/xRyRdsE.png" type="image/png">
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<link rel="manifest" href="/manifest.json">
</head>
<body>
<header>
<img src="https://i.imgur.com/JZsblnw.png" alt="Logo">
</header>
<main>
<div class="container p-8">
<div class="card">
<textarea id="inputText" class="w-full h-32 p-2 mb-4 border rounded-md" placeholder="Enter your text..."></textarea>
<div id="findReplaceOptions">
<div class="mb-4 find-replace-option">
<label for="findText" class="block text-sm font-medium text-gray-300">Find:</label>
<input type="text" class="w-full p-2 border rounded-md find-input" placeholder="Text to find...">
<label for="replaceText" class="block text-sm font-medium text-gray-300 mt-2">Replace with:</label>
<input type="text" class="w-full p-2 border rounded-md" placeholder="Replacement text...">
</div>
</div>
<button onclick="addFindReplaceOption()" class="bg-gray-500 text-white px-4 py-2 rounded-md mb-4">Add Find & Replace Option</button>
<div class="flex space-x-2">
<button onclick="performFindAndReplace()" class="bg-blue-500 text-white px-4 py-2 rounded-md">Find & Replace</button>
<button onclick="downloadText()" class="bg-green-500 text-white px-4 py-2 rounded-md">Download</button>
<button onclick="copyToClipboard()" class="bg-yellow-500 text-white px-4 py-2 rounded-md">Copy to Clipboard</button>
</div>
</div>
</div>
</main>
<footer>
<div class="container">
<p>© 2024 Find and Replace Tool | All Rights Reserved | Made By Devansh</p>
</div>
</footer>
<script src="scripts.js"></script>
</body>
</html>