-
Notifications
You must be signed in to change notification settings - Fork 0
/
bionic.html
53 lines (49 loc) · 1.61 KB
/
bionic.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bionic Reading</title>
<!-- Bootstrap CSS only -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="src/styles.css" />
</head>
<body>
<div class="container">
<h1 class="mt-5">Bionic Reading</h1>
<div class="mt-4 mb-5">
<textarea
class="form-control"
id="text"
rows="3"
placeholder="Insert or paste text in here"
></textarea>
<button type="button" class="btn btn-primary mt-3" id="change-bionic">
Change to Bionic Reading
</button>
</div>
<h2>Comparison</h2>
<div class="d-flex align-items-stretch comparison mt-4">
<div class="flex-grow-1 border rounded me-5 ps-3 pt-2">
<p class="text-start" id="raw-text"></p>
</div>
<div class="flex-grow-1 border rounded ps-3 pt-2">
<p id="bionic-text"></p>
</div>
</div>
<footer class="mt-5 fs-6 text-center">
This is just a coding exercise after discovering
<a href="http://bionic-reading.com/" target="_blank"
>https://bionic-reading.com/</a
>.
</footer>
</div>
<script src="src/app.js"></script>
</body>
</html>