-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (79 loc) · 4.21 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Text Comparison</title>
<link rel="stylesheet" href="style.min.css">
<link rel="icon" href="favicon.ico">
<!-- Font Awesome için CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
</head>
<body>
<div class="container">
<h1>Text Comparison</h1>
<button id="addInputBtn" class="secondary" style="user-select: none;">
<i class="fas fa-plus"></i> Add New Field
</button>
<div id="input-container" class="input-container">
<div class="input-group">
<div class="input-wrapper">
<div class="input-header">
<label for="text1" data-default-title="Text 1">
<input type="text" class="editable-label" maxlength="35" value="Text 1" placeholder="Title...">
<span class="char-count">(0 chars)</span>
<span class="word-count">(0 words)</span>
</label>
<div class="input-actions">
<button class="clear-input" title="Clear Text">
<i class="fas fa-eraser"></i>
</button>
<button class="remove-input" title="Remove Field">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<textarea id="text1" rows="10" placeholder="Enter text here..." spellcheck="false"></textarea>
</div>
</div>
<div class="input-group">
<div class="input-wrapper">
<div class="input-header">
<label for="text2" data-default-title="Text 2">
<input type="text" class="editable-label" maxlength="35" value="Text 2" placeholder="Title...">
<span class="char-count">(0 chars)</span>
<span class="word-count">(0 words)</span>
</label>
<div class="input-actions">
<button class="clear-input" title="Clear Text">
<i class="fas fa-eraser"></i>
</button>
<button class="remove-input" title="Remove Field">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<textarea id="text2" rows="10" placeholder="Enter text here..." spellcheck="false"></textarea>
</div>
</div>
</div>
<div class="button-group">
<button id="compareBtn" class="primary" style="user-select: none;">Compare</button>
<button id="clearBtn" class="secondary" style="user-select: none;">Clear All</button>
</div>
<div id="result" class="result"></div>
</div>
<footer>
<div class="footer-left">
<a href="https://github.com/hams-i" target="_blank">
<i class="fab fa-github"></i> github.com/hams-i
</a>
</div>
<div class="footer-right">
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 512 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M112 34v460h30V34zm48 45.77v23.13c7.6 6 15.3 11.7 23 17.2V311h18V132.5a548.9 548.9 0 0 0 46.1 27.5h-.1v151h18V169.1c15.2 7.4 30.5 14 46 19.6V311h18V194.9c15.2 4.9 30.6 8.9 46 12.1v104h18V210.3c15.3 2.4 30.6 4.1 46 4.8V311h18v-95.4c12.3.1 24.7-.5 37-1.5v-17.4c-114.8 10.7-229.1-30.4-334-116.93zm-66 3.87C73.99 127 47.66 165.3 18 197.7v26.2C30.91 211 43.32 197 55 182v129h18V157.3c7.4-10.9 14.42-22.2 21-34zM18 329v30h76v-30zm142 0v30h334v-30z"></path></svg>
From Istanbul <span style="color: var(--primary); user-select: none;">❤️</span>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>