This commit is contained in:
Philippe Torrel
2026-09-08 11:32:56 +02:00
parent 50c7ba9625
commit 917a0cb1a4
7 changed files with 110 additions and 23 deletions

View File

@@ -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>

View File

@@ -16,7 +16,15 @@ Prop | Value | -
# MacDown 3000
![MacDown 3000 logo](Images/logo-160.png)
<!-- ![MacDown 3000 logo](https://cdn.commonmark.org/uploads/default/optimized/2X/3/366f3614de6996d79a131fdf9b41ed7d65cfe181_2_690x424.png) -->
<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.

View File

@@ -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>

View 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>