-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
76 lines (63 loc) · 2.88 KB
/
index.html
File metadata and controls
76 lines (63 loc) · 2.88 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
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Jeremy Quick">
<meta name="keywords" content="typoglycemia,typoglycemia generator,typoglycemia converter">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5PZLD970SK"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-5PZLD970SK');
</script>
<script
src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8="
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.bundle.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet"/>
<script src="https://cdn.jsdelivr.net/gh/jrquick17/jquery-typoglycemia/typoglycemia.js"></script>
<!-- <script src="typoglycemia.js"></script>-->
<title>jquery-typoglycemia</title>
</head>
<body>
<div class="card" style="margin: 20px;">
<div class="card-header">
Typoglycemia
</div>
<div class="card-body">
<div class="row">
<div class="col-md-6 col-sm-12">
<div class="form-group">
<label for="input">Enter any text to convert to typoglycemia...</label>
<textarea class="form-control rounded-0"
id="input"
rows="10">According to a researcher at Cambridge University, it doesn't matter in what order the letters in a word are, the only important thing is that the first and last letter be at the right place. The rest can be a total mess and you can still read it without problem. This is because the human mind does not read every letter by itself but the word as a whole.</textarea>
</div>
</div>
<div class="col-md-6 col-sm-12">
<div class="form-group">
<label for="output">Output</label>
<textarea class="form-control rounded-0"
id="output"
rows="10">According to a researcher at Cambridge University, it doesn't matter in what order the letters in a word are, the only important thing is that the first and last letter be at the right place. The rest can be a total mess and you can still read it without problem. This is because the human mind does not read every letter by itself but the word as a whole.</textarea>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
jQuery('#input').keyup(
function() {
jQuery('#output').val(
jQuery.typoglycemia(this.value)
);
}
);
jQuery('#output').typoglycemia();
</script>
</body>
</html>