|
1 | 1 | <!doctype html>
|
2 | 2 | <html>
|
3 |
| - <head> |
4 |
| - <title>Typing practice v0.1</title> |
5 |
| - <link rel="stylesheet" type="text/css" href="main.css" media="screen" /> |
| 3 | +<head> |
| 4 | + <title>Typing practice v0.1</title> |
| 5 | + <link rel="stylesheet" type="text/css" href="main.css" media="screen" /> |
| 6 | + <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> |
| 7 | +</head> |
| 8 | +<body> |
| 9 | + <div class="topnav"> |
| 10 | + <a href="#">Typing practice</a> |
| 11 | + <div id="score"></div> |
| 12 | + </div> |
6 | 13 |
|
7 |
| -<!-- Including jQuery --> |
8 |
| - <script src="https://code.jquery.com/jquery-3.6.0.min.js" |
9 |
| - integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" |
10 |
| - crossorigin="anonymous"> |
11 |
| - </script> |
12 |
| - </head> |
13 |
| - <body> |
14 |
| - <div class="topnav"> |
15 |
| - <a href="#">Typing practice</a> |
16 |
| - <div id="score"></div> |
17 |
| - </div> |
| 14 | + <div class="content-holder"> |
| 15 | + <div class="settings"> |
| 16 | + <h3>Settings:</h3> |
| 17 | + <div class="use_tabs"> |
| 18 | + <input type="checkbox" id="use_tabs" onchange="changeUseTabs()" name="use_tabs" style="display: none;" checked> |
| 19 | + <label for="use_tabs" name="label_use_tabs">Using tabs instead of spaces</label> |
| 20 | + </div> |
| 21 | + <div class="max_symbols"> |
| 22 | + Max symbols (set to <= 0 to off): |
| 23 | + <input type="number" step="1" id="max_symbols" onchange="changeMaxSymbols()" style="width: 90px;"/> |
| 24 | + </div> |
| 25 | + </div> |
| 26 | + <div style="float: left; width: 100%; margin-left: 18px; padding-bottom: 18px"> |
| 27 | + <form action="set_code_file"> |
| 28 | + <input class="code_selector" style="margin-left: 30%; padding-top: 10px" type="file" id="myFile" name="filename" onchange="changeCode()"> |
| 29 | + </form> |
| 30 | + <button class="code_selector" style="margin-left: 30px" onclick="restart()"><img src="https://cdn4.iconfinder.com/data/icons/game-general-icon-set-1/512/reset-512.png" width="30px" height="30px"></button> |
| 31 | + </div> |
18 | 32 |
|
19 |
| - <div class="content-holder"> |
20 |
| - <div class="settings"> |
21 |
| - <h3>Settings:</h3> |
22 |
| - <div class="use_tabs"> |
23 |
| - <input type="checkbox" id="use_tabs" onchange="changeUseTabs()" name="use_tabs" style="display: none;" checked> |
24 |
| - <label for="use_tabs" name="label_use_tabs">Using tabs instead of spaces</label> |
25 |
| - </div> |
26 |
| - <div class="max_symbols"> |
27 |
| - Max symbols (set to <= 0 to off): |
28 |
| - <input type="number" step="1" id="max_symbols" onchange="changeMaxSymbols()" style="width: 90px;"/> |
29 |
| - </div> |
30 |
| - </div> |
31 |
| - <div style="float: left; width: 100%; margin-left: 18px; padding-bottom: 18px"> |
32 |
| - <form action="set_code_file"> |
33 |
| - <input class="code_selector" style="margin-left: 30%; padding-top: 10px" type="file" id="myFile" name="filename" onchange="changeCode()"> |
34 |
| - </form> |
35 |
| - <button class="code_selector" style="margin-left: 30px" onclick="restart()"><img |
36 |
| - src="https://cdn4.iconfinder.com/data/icons/game-general-icon-set-1/512/reset-512.png" |
37 |
| - width="30px" height="30px"></button> |
38 |
| - </div> |
| 33 | + <form action="none" method="get" align="right"> |
| 34 | + <textarea class="content" name="main_window_text"></textarea> |
| 35 | + </form> |
| 36 | + <form action="none" method="get" align="right"> |
| 37 | + <textarea class="content-front" name="main_window_input" spellcheck="false"></textarea> |
| 38 | + </form> |
| 39 | + </div> |
39 | 40 |
|
40 |
| - <form action="none" method="get" align="right"> |
41 |
| - <textarea class="content" name="main_window_text"></textarea> |
42 |
| - </form> |
43 |
| - <form action="none" method="get" align="right"> |
44 |
| - <textarea class="content-front" name="main_window_input" spellcheck="false"></textarea> |
45 |
| - </form> |
46 |
| - </div> |
| 41 | + <script src="main.js"></script> |
47 | 42 |
|
48 |
| - |
49 |
| - <script src="main.js"></script> |
50 |
| - |
51 |
| - <div class="footer"> |
52 |
| - <p> Nothing in Footer yet</p> |
53 |
| - </div> |
54 |
| - </body> |
| 43 | + <div class="footer"> |
| 44 | + <p>Nothing in Footer yet</p> |
| 45 | + </div> |
| 46 | +</body> |
55 | 47 | </html>
|
0 commit comments