Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devel #2

Merged
merged 11 commits into from
Aug 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
h1{
font-stretch: ultra-expanded;
font-weight: bolder;
font-family: cursive;
text-align: center;
font-size: 36pt;
color: darkred;
}
h2{
font-size: 24pt;
text-align: center;
font-family: serif;
}
p{
font-size: 18pt;
text-align: justify;;
font-family: serif;
}
body{
background-color: cornflowerblue;
}
.content{
width:100%;
background-color: #eeeeee;
}
fieldset{
border-style:none;
}
.theater {
position: relative;
background-color: black;
}
.stage {
height: 40%;
}

td{
width:50%;
border-style: none;
}
img.hands{
max-height: 240px;
height: auto
width: auto;

margin:20%;
margin-bottom: 0;
margin-top: 15%;

}
.curtainOverlay {
position: absolute;
top: 0;
}

img.topcurtain{
height: 20%;
width: 100%;
left: 0;
}
img.leftcurtain{
height: 100%;
width: 20%;
left: 0;
}
img.rightcurtain{
height: 100%;
width: 20%;
right: 0;
}
Binary file added img/_.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/a.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/b.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/c.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/d.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/e.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/f.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/g.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/h.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/i.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/j.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/k.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/l.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/leftcurtain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/m.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/n.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/o.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/p.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/q.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/r.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/rightcurtain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/s.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/t.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/topcurtain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/u.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/v.gif
Binary file added img/w.gif
Binary file added img/x.gif
Binary file added img/y.gif
Binary file added img/z.gif
85 changes: 85 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Finger-Spell-It</title>
<link rel="stylesheet" href="css/styles.css">
<script src="js/words.js" charset="utf-8"></script>
<script src="js/quiz.js" charset="utf-8"></script>
</head>
<body>
<h1>Finger-Spell-It</h1>
<table class="content">
<tr>
<td>
<div class="theater">
<div class="stage" id="letterImageStage">
<img class="hands" id="letterImage" src="img/_.gif" />
</div>
<img class="leftcurtain curtainOverlay" src="img/leftcurtain.png">
<img class="rightcurtain curtainOverlay" src="img/rightcurtain.png">
<img class="topcurtain curtainOverlay" src="img/topcurtain.png">
</div>
</td>
<td>
<div>
</div>
<div class="theater">
<div class="stage" id="inputImageStage">
<img class="hands" id="inputImage" src="img/_.gif" />
</div>
<img class="leftcurtain curtainOverlay" src="img/leftcurtain.png">
<img class="rightcurtain curtainOverlay" src="img/rightcurtain.png">
<img class="topcurtain curtainOverlay" src="img/topcurtain.png">
</div>
</td>
</tr>
<tr>
<td>
<fieldset>
<label for="lengthLimit">Word length limit</label>
<input type="number" id="lengthLimit" min="3" max="99" value="5" />
<button type="button" id="changeLimitButton">Change</button> |
<label for="speedcontrol">Speed</label>
<span id="speedcontrol">
<button type="button" id="slower">-</button>
<input type="range" id="speedSlider" />
<button type="button" id="faster">+</button>|
<label for="autospeed">Auto Speed</label>
<input type="checkbox" id="autospeed" value="Auto Speed" checked />
</span>
</fieldset>
</td>
<td>
<fieldset>
<label for="playerInput">Type the word</label>
<input type="text" id="playerInput" value="">
<button type="button" id="playerSubmitAnswer">Go</button>|
<label for="score">Score</label>
<output type="number" id="score">0</output>
</fieldset>
</td>
</tr>
</table>
<h2>Practice fingerspelling in American Sign Language.</h2>
<p><strong>Instructions:</strong> A word will be fingerspelled for you on the left-stage.
Type the word you see. For each letter that you type, you will see its sign on the right-stage.</p>
<p>If you need to see the word again, leave the textbox blank and press the
<button type="button" disabled="true">Go</button> button. When you are ready to submit your answer,
press the <button type="button" disabled="true">Go</button> button. You may alternatively hit the [ENTER] key
instead of pressing the <button type="button" disabled="true">Go</button> button. </p>
<p>If you get a word right, your score increases by 1. If you get a word wrong, your score decreases by 1.
There is no penalty or reward for replaying a word.</p>
<p>You can increase the fingerspelling speed by pressing the <button type="button" disabled="true">+</button> button,
or by sliding the speed slider to the right.</p>
<p>You can decrease the fingerspelling speed by pressing the <button type="button" disabled="true">-</button> button,
or by sliding the speed slider to the left.</p>
<p>By default, when you get a word right, the speed will increase automatically
and when you get a word wrong, the speed will decrease automatically.
This setting can be disabled by unchecking the Auto Save checkbox. </p>
<p>By default, you will see words that are 5 letters long or less.
This can be changed by typing in a new word length limit and pressing the
<button type="button" disabled="true">Change</button> button. Note that the smallest word length is 3 letters. </p>

</body>
</html>
Loading