Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kyletimmermans committed Aug 15, 2023
0 parents commit fde2ce7
Show file tree
Hide file tree
Showing 11 changed files with 11,218 additions and 0 deletions.
696 changes: 696 additions & 0 deletions app.js

Large diffs are not rendered by default.

116 changes: 116 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<!DOCTYPE html>
<html>

<head>
<title>Russian Grammar Exercises</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%2210 0 100 100%22><text y=%22.90em%22 font-size=%22105%22>🪆</text></svg>">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="app.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"></script>
</head>

<style>
body {
background-color: rgb(46, 56, 66);
}

.centered-title {
position: absolute;
top: 20%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-20%);
-webkit-transform: translateX(-50%) translateY(-20%);
transform: translateX(-50%) translateY(-20%);
color: white;
}

#question {
color: white;
font-size: 38px;
}

#result {
color: white;
font-size: 38px;
}

.dropdown-item:hover {
background-color: #9ceafa !important;
}
</style>

<body>

<!-- Exercises Dropdown -->
<div class="dropdown position-fixed top-0 start-0 p-2">
<button class="btn btn-info dropdown-toggle" type="button" id="dropdownMenu2" data-bs-toggle="dropdown" aria-expanded="false">Exercise Type </button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu2">
<li><button class="dropdown-item" type="button" onclick="verb()">Verb Conjugations</button></li>
<li><button class="dropdown-item" type="button" onclick="singNoun()">Singular Noun Cases</button></li>
<li><button class="dropdown-item" type="button" onclick="plurNoun()">Plural Noun Cases</button></li>
<li><button class="dropdown-item" type="button" onclick="singAdj()">Singular Adjective Cases</button></li>
<li><button class="dropdown-item" type="button" onclick="plurAdj()">Plural Adjective Cases</button></li>
<li><button class="dropdown-item" type="button" onclick="pronoun()">Pronoun Cases</button></li>
<li><button class="dropdown-item" type="button" onclick="possesive()">Possesive Pronoun + Сам Cases</button></li>
<li><button class="dropdown-item" type="button" onclick="demonstrative()">Demonstrative + Весь Cases</button></li>
<li><button class="dropdown-item" type="button" onclick="questionword()">Question Word Cases</button></li>
<li><button class="dropdown-item" type="button" onclick="comparative()">Comparative Creation</button></li>
</ul>
</div>

<!-- About Button -->
<div class="position-fixed top-0 end-0 p-2">
<a class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#aboutModal">About</a>
</div>

<!-- Modal -->
<div class="modal fade" id="aboutModal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="aboutModalLabel">About</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
Made with 💚 by <a href="https://www.kyles.world/" target="_blank" rel="noopener noreferrer">Kyle</a>
</br></br>
Found a vocab / grammar issue or technical bug? Let me know on <a href="https://www.github.com/rus-grammar-practice/rus-grammar-practice.github.io" target="_blank" rel="noopener noreferrer">GitHub</a>!
</br></br>
<i>Russian Learning Resources:</i>
<ul>
<li><a href="https://raw.githubusercontent.com/rus-grammar-practice/rus-grammar-practice.github.io/main/resources/All%20Russian%20Case%20Declensions.jpeg" target="_blank" rel="noopener noreferrer">Russian Case Chart</a></li>
<li><a href="http://masterrussian.com/" target="_blank" rel="noopener noreferrer">General Russian Lessons & Grammar</a></li>
<li><a href="https://www.russianforfree.com/exercises.php" target="_blank" rel="noopener noreferrer">Russian Case Practice</a></li>
<li><a href="https://babadum.com/play/?lang=8&game=1" target="_blank" rel="noopener noreferrer">Russian Vocab Learning Game (BaBaDum)</a></li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-success" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>

<!-- Page loads w/ verbs first-->
<h1 class="centered-title">Verb Conjugations</h1>

<div class="d-flex flex-column justify-content-center align-items-center vh-100">
</br>
<div class="row">
<div class="col" id="question"></div>
</div>
</br>
<div class="row">
<input class="form-control-lg" id="inputAnswer" type="text" placeholder="Answer">
<button type="button" class="btn btn-outline-info" onclick="checkAnswer()">Check</button>
</div>
</br></br>
<div class="row">
<div class="col" id="result">Result: </div>
</div>
</div>
</body>

</html>
Binary file added resources/All Russian Case Declensions.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit fde2ce7

Please sign in to comment.