Files
uni/slides/223015c-2026/assets/demos/js-fetch.html
T
libretech 351e3dfc23 branch-coexist: 3 neue decks 223015b-2026 / 223015c-2026 / dhbw-2026 daneben main
per user-request einen branch der main-content UND rewrite-content trägt — saubere separierung statt symlink/merge-conflict.

struktur:
- slides/<course>/ → main-content restored, eigene assets (kein new-demo-leak)
- slides/<course>-2026/ → rewrite-content, eigene assets (komplett kopiert + new demos)

Makefile: COURSES += 223015b-2026 223015c-2026 dhbw-2026 mit eigenen NAME/KAPITEL/DEPLOY/KLAUSUR-konfig. Klausur für b+c=1, dhbw=leer. Deploy-paths /hdm/223015b-2026 etc.

make build durchlaufen für alle 6 decks, 0 fehler.

dedup: 223015c+dhbw assets identisch in beiden ordnern (kein neu-demos auf b ergänzt). 223015b 86 → 120 files in -2026 (= +34 neue eroeffner/usb-c-drei-achsen/container-vs-codec/etc).
2026-05-14 21:54:15 +02:00

61 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Fetch</title>
<style>
body { font-family: system-ui, sans-serif; padding: 1.5rem; }
.url {
font-family: ui-monospace, monospace;
background: #f3f4f6;
padding: 6px 10px;
border-radius: 4px;
font-size: 0.85rem;
color: #4a4a6a;
margin-bottom: 1rem;
display: inline-block;
}
.arrow {
margin: 0.6rem 0;
color: #d63384;
font-style: italic;
font-size: 0.85rem;
}
.json {
background: #0f0f23;
color: #d63384;
padding: 14px;
border-radius: 6px;
font-family: ui-monospace, monospace;
font-size: 0.82rem;
line-height: 1.5;
margin-bottom: 1rem;
}
.json .k { color: #86efac; }
.json .s { color: #fde68a; }
.json .n { color: #93c5fd; }
.rendered {
border: 1px solid #e5e7eb;
border-radius: 6px;
padding: 14px;
background: #f9fafb;
}
.rendered h3 { margin: 0 0 6px; }
.rendered p { margin: 3px 0; color: #4a4a6a; }
</style>
</head>
<body>
<div class="url">GET https://api.example.com/user/1</div>
<div class="json">{<br>
&nbsp;&nbsp;<span class="k">"id"</span>: <span class="n">1</span>,<br>
&nbsp;&nbsp;<span class="k">"name"</span>: <span class="s">"Max"</span>,<br>
&nbsp;&nbsp;<span class="k">"email"</span>: <span class="s">"max@hdm.de"</span><br>
}</div>
<div class="arrow">↓ await response.json() → ins DOM rendern</div>
<div class="rendered">
<h3>Max</h3>
<p>max@hdm.de</p>
</div>
</body>
</html>