61 lines
1.6 KiB
HTML
61 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Textanalyse - EIS Projekt</title>
|
|
<link rel="icon" href="img/favicon.png" type="image/png">
|
|
<link rel="stylesheet" href="css/style.css">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<main>
|
|
<section class="content-section">
|
|
<div class="container">
|
|
<h1>Textanalyse (Aufgabe 2)</h1>
|
|
<p>Ein einfaches Tool zur Analyse von Texten.</p>
|
|
|
|
<div class="exercise-card">
|
|
<h2>Text analysieren</h2>
|
|
<p>Klicken Sie auf den Button, um einen Text zu analysieren:</p>
|
|
<button onclick="startTextanalyse()" class="btn">Text analysieren</button>
|
|
<p style="margin-top: 1rem; font-size: 0.9rem; color: #666;">
|
|
Das Programm fragt Sie nach einem Text und zeigt dann:
|
|
<ul style="margin-top: 0.5rem;">
|
|
<li>Die Anzahl der Zeichen</li>
|
|
<li>Die Anzahl der Wörter</li>
|
|
<li>Den Text in Großbuchstaben</li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
<div class="exercise-card" style="margin-top: 2rem;">
|
|
<h2>Beispiel</h2>
|
|
<p style="color: #666; font-style: italic;">
|
|
Input: "Hallo Welt"<br>
|
|
<br>
|
|
Output:<br>
|
|
Zeichen: 10<br>
|
|
Wörter: 2<br>
|
|
Großbuchstaben: HALLO WELT
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<footer>
|
|
<div class="footer-content">
|
|
<p>© 2026 EIS Projekt. Alle Rechte vorbehalten.</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="js/navbar.js"></script>
|
|
<script src="js/textanalyse.js"></script>
|
|
<script src="js/script.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|