This commit is contained in:
Philippe Torrel
2026-06-18 10:46:31 +02:00
parent 86e9bcea64
commit a1b0051a0b
8 changed files with 175 additions and 94 deletions

View File

@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Übung 11: Rechnen mit Strings?</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
<main>
<div class="container py-5">
<h2>Übung 11: Rechnen mit Strings?</h2>
<table class="table table-striped">
<thead class="table-dark">
<tr>
<td>Ausdruck</td>
<td>Rückgabewert</td>
</tr>
</thead>
<tbody>
<tr>
<td>'Hallo' + 'Welt'</td>
<td>HalloWelt</td>
</tr>
<tr>
<td>'Hallo' + ' Welt'</td>
<td>Hallo Welt</td>
</tr>
<tr>
<td>'1' + '1'</td>
<td>11</td>
</tr>
<tr>
<td>1 + 1</td>
<td>2</td>
</tr>
<tr>
<td>'1 + 1'</td>
<td>1 + 1</td>
</tr>
</tbody>
</table>
</div>
</main>
<script>
'use strict';
</script>
</body>
</html>