Remove nested git repository eis-website
This commit is contained in:
parent
73144db537
commit
79ff775268
7 changed files with 88 additions and 38 deletions
|
|
@ -12,6 +12,7 @@
|
|||
<a href="eis_project.html">Project</a>
|
||||
<a href="contact.html">Contact</a>
|
||||
<a href="imprint.html">Imprint</a>
|
||||
<li><a href="notenrechner.html">Notenrechner</a></li>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@
|
|||
<a href="eis_project.html">Project</a>
|
||||
<a href="contact.html">Contact</a>
|
||||
<a href="imprint.html">Imprint</a>
|
||||
<li><a href="notenrechner.html">Notenrechner</a></li>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
<a href="eis_project.html">Project</a>
|
||||
<a href="contact.html">Contact</a>
|
||||
<a href="imprint.html">Imprint</a>
|
||||
<li><a href="notenrechner.html">Notenrechner</a></li>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
<a href="eis_project.html">Project</a>
|
||||
<a href="contact.html">Contact</a>
|
||||
<a href="imprint.html">Imprint</a>
|
||||
<li><a href="notenrechner.html">Notenrechner</a></li>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
57
index.html
57
index.html
|
|
@ -1,48 +1,53 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
|
||||
<html lang="en">
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>My Website</title>
|
||||
<link rel="icon" href="img/favicon.png" type="image/png">
|
||||
<meta charset="UTF-8">
|
||||
<title>JavaScript verwenden</title>
|
||||
|
||||
<!-- JavaScript im Header (Aufgabe vom Lehrer) -->
|
||||
<script>
|
||||
alert("JavaScript im Header!");
|
||||
</script>
|
||||
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<nav>
|
||||
<a href="index.html">Home</a>
|
||||
<a href="about_us.html">About Us</a>
|
||||
<a href="eis_project.html">Project</a>
|
||||
<a href="contact.html">Contact</a>
|
||||
<a href="imprint.html">Imprint</a>
|
||||
</nav>
|
||||
<li><a href="notenrechner.html">Notenrechner</a></li>
|
||||
</nav>
|
||||
|
||||
<header>
|
||||
<img src="./img/Logo.png" alt="Logo" style="height: 100px;">
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<h1>JavaScript</h1>
|
||||
<h1>Wilkommen beim Lernprojekt EIS!</h1>
|
||||
<p>My first page on the server.</p>
|
||||
|
||||
<!-- Logo in header -->
|
||||
<img src="./img/Logo.png" alt="Logo" style="height: 100px;">
|
||||
<body>
|
||||
"Kommentar in index.html ergaenzt"
|
||||
<h1>Wilkommen beim Lernprojekt EIS!</h1>
|
||||
<p>My first page on the server.</p>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html><a href="imprint.html">imprint.html</a>
|
||||
</nav>
|
||||
</header>
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
<main>
|
||||
<p>Auf dieser Website stellen wir unser Projekt im Rahmen der Lehrveranstaltung
|
||||
Entwicklung interaktiver Softwareanwendungen vor.</p>
|
||||
|
||||
<p>
|
||||
<a href="assets/projektinfo.pdf" download>Projektinfo herunterladen (PDF)</a>
|
||||
</p>
|
||||
</main>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<footer>
|
||||
<p>© 2026 Lernprojekt EIS</p>
|
||||
</footer>
|
||||
</footer>
|
||||
|
||||
<script src="js/script.js"></script>
|
||||
<!-- Externe JavaScript-Datei (Aufgabe Schritt 2) -->
|
||||
<script src="js/example2.js"></script>
|
||||
<script src="js/textanalyse.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Textanalyse</title>
|
||||
<script src="js/textanalyse.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Textanalyse</h1>
|
||||
<p>Die Analyse startet automatisch.</p>
|
||||
</body>
|
||||
</html>
|
||||
function analyseText(text) {
|
||||
if (text === null || !text.trim()) {
|
||||
return "Fehler: Der Text darf nicht leer sein!";
|
||||
}
|
||||
|
||||
const zeichen = text.length;
|
||||
const woerter = text.split(" ").filter(w => w.trim() !== "").length;
|
||||
const gross = text.toUpperCase();
|
||||
|
||||
return `Analyse-Ergebnis:
|
||||
Zeichen: ${zeichen}
|
||||
Wörter: ${woerter}
|
||||
Großbuchstaben: ${gross}`;
|
||||
}
|
||||
|
||||
const eingabe = prompt("Bitte gib einen Text ein:");
|
||||
alert(analyseText(eingabe));
|
||||
|
||||
|
||||
|
|
|
|||
33
notenrechner.html
Normal file
33
notenrechner.html
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Notenrechner</title>
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
<script src="js/notenrechner.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="index.html">Home</a></li>
|
||||
<li><a href="about_us.html">About Us</a></li>
|
||||
<li><a href="eis_project.html">Project</a></li>
|
||||
<li><a href="contact.html">Contact</a></li>
|
||||
<li><a href="imprint.html">Imprint</a></li>
|
||||
<li><a href="notenrechner.html" class="active">Notenrechner</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<h1>Notenrechner</h1>
|
||||
<p>Der Notenrechner wird automatisch gestartet, sobald die Seite geladen wird.</p>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>© 2026 EIS Learning Project</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in a new issue