This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- nav#menu-main.menu-main>ul.list.list-group>li.list-group-item*4>a[href="#"]{Link $} -->
|
||||
<nav id="menu-main" class="menu-main">
|
||||
<!-- nav#menu-main.menu-main>ul.list.list-group.list-group-flush>li.list-group-item*4>a[href="#"]{Link $} -->
|
||||
<nav id="menu-main" class="menu-main mb-3">
|
||||
<ul class="list list-group list-group-flush">
|
||||
<li class="list-group-item"><a href="#">Link 1</a></li>
|
||||
<li class="list-group-item"><a href="#">Link 2</a></li>
|
||||
@@ -28,29 +28,29 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<!-- Emmet: table.table.table-striped>(thead.table-dark>tr>(td{Bezeichnung}+td{Wert})+tbody>tr*3>td*2) -->
|
||||
<!-- Emmet: table.table.table-striped>(thead.table-dark>tr>(th{Bezeichnung}+th{Wert}))+tbody>tr*3>(td{$}+td{wert}) -->
|
||||
|
||||
<table class="table table-striped my-3">
|
||||
<table class="table table-striped">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<td>Bezeichnung</td>
|
||||
<td>Wert</td>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>3</td>
|
||||
<td>4</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>5</td>
|
||||
<td>6</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<th>Bezeichnung</th>
|
||||
<th>Wert</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>wert</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td>wert</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>3</td>
|
||||
<td>wert</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
@@ -16,7 +16,15 @@ Prop | Value | -
|
||||
|
||||
# MacDown 3000
|
||||
|
||||

|
||||
<!--  -->
|
||||
|
||||
|
||||
<figure>
|
||||
<img src="https://cdn.commonmark.org/uploads/default/optimized/2X/3/366f3614de6996d79a131fdf9b41ed7d65cfe181_2_690x424.png" alt="Markdown logo" width="250" />
|
||||
<figcaption>Markdown logo</figcaption>
|
||||
</figure>
|
||||
|
||||
|
||||
|
||||
Hello there! I'm **MacDown 3000**, the open source Markdown editor for macOS.
|
||||
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>HTML Grundgerüst mit Boostrap 5</title>
|
||||
<title></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">
|
||||
<h1>HTML Grundgerüst mit Boostrap 5</h1>
|
||||
<h1></h1>
|
||||
</div>
|
||||
</main>
|
||||
<script>
|
||||
|
||||
43
01_grundlagen/unterricht/tag02/01_alert-prompt-confirm.html
Normal file
43
01_grundlagen/unterricht/tag02/01_alert-prompt-confirm.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>alert(), prompt(), confirm()</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">
|
||||
<h1>alert(), prompt(), confirm()</h1>
|
||||
<hr />
|
||||
|
||||
<div class="alert alert-primary mb-3">
|
||||
<h2>alert()</h2>
|
||||
<p>
|
||||
Die <a href="https://developer.mozilla.org/de/docs/Web/API/Window/alert">window.alert()</a> Methode zeigt
|
||||
einen Alert-Dialog mit optional spezifiziertem Inhalt und einem OK-Button an.
|
||||
</p>
|
||||
</div>
|
||||
<!-- .alert.alert-primary.mb-3>h2{prompt()}+p -->
|
||||
<div class="alert alert-primary mb-3">
|
||||
<h2>prompt()</h2>
|
||||
<p>
|
||||
Die <a href="https://developer.mozilla.org/de/docs/Web/API/Window/prompt">window.prompt()</a> zeigt ein
|
||||
Dialogfenster mit einem Text-Eingabefeld an, mit einer optionalen Nachricht an den Benutzer.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<script>
|
||||
'use strict';
|
||||
|
||||
// window.alert('Hello World'); // window muss als äußerstes Objekt nicht explizit angegeben werden. (Angabe ist optional)
|
||||
// alert('Hello World');
|
||||
|
||||
// let result = window.prompt('Die Anwort auf alles?');
|
||||
let result = prompt('Die Anwort auf alles?');
|
||||
console.log(result); // => string | null
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user