-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
110 lines (103 loc) · 4.73 KB
/
Copy pathindex.html
File metadata and controls
110 lines (103 loc) · 4.73 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
<title>Style Helper: Creative Writing Style Analysis</title>
</head>
<body onload="setdefaultoptions()">
<div class="heading">
<h1>The Style Helper</h1>
<h3>A dream come true for authors and editors alike.</h3>
</div>
<div id="demoTexts">
<p>Test it out with these demo chapters: </p>
<button type="button" class="btn btn-secondary demoButton" id="demoEragon"><u>Eragon</u> by Christopher Paolini</button>
<button type="button" class="btn btn-secondary demoButton" id="demoUncovered"><u>Uncovered</u> by Berkeley Andrus</button>
</div>
<div class="options">
<p>Select the common writing style issues you would like to look for:</p>
<div class="container">
<div class="row">
<div class="col-sm">
<p>Trouble words:</p>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="veryCheck">
<label class="form-check-label" for="veryCheck">
Very
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="literallyCheck">
<label class="form-check-label" for="literallyCheck">
Literally
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="reallyCheck">
<label class="form-check-label" for="reallyCheck">
Really
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="badAdverbCheck">
<label class="form-check-label" for="badAdverbCheck">
Other -ly adverbs (Ernest Hemingway said that these were bad. I'm not convinced, but I'm not going to argue with a master)
</label>
</div>
</div>
<div class="col-sm">
<p>Sentence Structure:</p>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="sentenceLengthCheck">
<label class="form-check-label" for="sentenceLengthCheck">
Repeated sentence length
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="repeatWordCheck">
<label class="form-check-label" for="repeatWordCheck">
Repeated first word
</label>
</div>
</div>
<div id="punctuation" class="col-sm">
<p>Punctuation that should be used sparingly:</p>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="bangCheck">
<label class="form-check-label" for="bangCheck">
Exclamation point
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="ellipsisCheck">
<label class="form-check-label" for="ellipsisCheck">
Ellipsis (...)
</label>
</div>
</div>
</div>
</div>
</div>
<div id="inputarea" class="inputarea">
<p id="inputHeading">Enter your story here:
<button type="button" class="btn btn-secondary btn-lg" id="startanalysis">Analyze!</button></p>
<textarea class="maininput" id="maintextarea"></textarea>
</div>
<div id="goback">
<button type="button" class="btn btn-secondary btn-lg" id="reanalyze">Go back.</button>
</div>
<div id="outputarea">
</div>
<footer>
<p>Code for this site at <a href="https://github.com/bandrus5/260CreativeProject2" target="_blank">https://github.com/bandrus5/260CreativeProject2</a></p>
</footer>
<script src="analyze.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</body>
</html>