-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (61 loc) · 2.84 KB
/
index.html
File metadata and controls
68 lines (61 loc) · 2.84 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js"> <!--<![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Case Replace</title>
<meta name="description" content="A tool to manipulate any text you want to">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://kit.fontawesome.com/9d5ed64226.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<h1 class="title">Case Replace</h1>
<textarea class="text-area" placeholder="Type or past (Ctrl+V) your text here"></textarea>
<div class="utils-box">
<button class="copy-clipboard" onclick="copy()" onmouseout="reset()">
<span class="tooltiptext">Copy to clipboard</span>
Copy text <i class="icon fa-regular fa-copy"></i>
</button>
<div class="box-infos">
<p class="label">Words: <span class="data" id="wordsCounter">0</span></p>
<p class="label">Lines: <span class="data" id="linesCounter">0</span></p>
<p class="label">Unique words: <span class="data" id="uniqueWordsCounter">0</span></p>
</div>
</div>
<hr class="divider">
<div class="tools-box">
<button class="button" id="toSentence">
Sentence case
<span class="helptext">Example text</span>
</button>
<button class="button" id="toCapitalized">
Capitalized case
<span class="helptext">Example Text</span>
</button>
<button class="button" id="toLower">
To lower
<span class="helptext">example text</span>
</button>
<button class="button" id="toUpper">
To upper
<span class="helptext">EXAMPLE TEXT</span>
</button>
<button class="button" id="toInverse">
Inverse Case
<span class="helptext">InveRSe = iNVErsE</span>
</button>
</div>
<script src="javascript/utils.js"></script>
<script src="javascript/controller/InfosController.js"></script>
<script src="javascript/controller/CaseControllers.js"></script>
<script src="javascript/index.js"></script>
</body>
</html>