Untitled
unknown
plain_text
9 months ago
2.2 kB
6
Indexable
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>German Cases Study Helper</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f4f4f9;
color: #333;
}
header {
text-align: center;
margin-bottom: 20px;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.sentence {
margin: 20px 0;
font-size: 1.2em;
}
.highlight {
font-weight: bold;
color: #007BFF;
}
.result {
margin-top: 10px;
font-weight: bold;
}
.hidden {
display: none;
}
button {
padding: 10px 20px;
background-color: #007BFF;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1em;
}
button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<header>
<h1>German Cases Study Helper</h1>
<p>Practice identifying the nominative and accusative in German sentences.</p>
</header>
<div class="container">
<div class="sentence" id="sentence">Der Mann sieht den Hund.</div>
<p>Identify the nominative and accusative case in the sentence above:</p>
<button onclick="showAnswer()">Show Answer</button>
<p id="answer" class="result hidden">
<span class="highlight">Nominative:</span> Der Mann<br>
<span class="highlight">Accusative:</span> den Hund
</p>
</div>
<script>
function showAnswer() {
const answerElement = document.getElementById('answer');
answerElement.classList.remove('hidden');
}
</script>
</body>
</html>
Editor is loading...
Leave a Comment