From 2f47bfcfa57cd451db8574f2d637cae32442b880 Mon Sep 17 00:00:00 2001
From: Hong-Phuc Bui <hong-phuc.bui@htwsaar.de>
Date: Sat, 17 Oct 2026 23:45:08 +0200
Subject: [PATCH] Aufgabe DOM-Ausgabe

---
 02-1-dom-io/index.html  |   11 +++++++++++
 02-1-dom-io/division.js |    3 +++
 2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/02-1-dom-io/division.js b/02-1-dom-io/division.js
new file mode 100644
index 0000000..85c9d57
--- /dev/null
+++ b/02-1-dom-io/division.js
@@ -0,0 +1,3 @@
+const rest = -11 % 7;
+const resultEl = document.getElementById("result");
+resultEl.textContent = rest;
diff --git a/02-1-dom-io/index.html b/02-1-dom-io/index.html
new file mode 100644
index 0000000..e5546f0
--- /dev/null
+++ b/02-1-dom-io/index.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <title>DOM-output</title>
+</head>
+<body>
+<div id="result"></div>
+<script src="division.js"></script>
+</body>
+</html>
\ No newline at end of file

--
Gitblit v1.10.0