commit e9e0c414cc76b457259a76f0ef2dcaf066e4eb34 Author: unknown Date: Wed Sep 17 13:57:23 2025 +0200 zaliczenie diff --git a/baner.png b/baner.png new file mode 100644 index 0000000..8e3d3b2 Binary files /dev/null and b/baner.png differ diff --git a/get.php b/get.php new file mode 100644 index 0000000..23641bd --- /dev/null +++ b/get.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/i1.html b/i1.html new file mode 100644 index 0000000..c89ad20 --- /dev/null +++ b/i1.html @@ -0,0 +1,30 @@ + + + + + Kursy komputerowe + + + + + + + + + +
+ +
+
+ + + + + diff --git a/layout.css b/layout.css new file mode 100644 index 0000000..9c3ce36 --- /dev/null +++ b/layout.css @@ -0,0 +1,39 @@ +body { + font-family: Helvetica; + background-color: #EAEAEA; + margin: 0; + padding: 0; +} + +img { + width: 100%; +} + +nav, footer { + background-color: #625B5B; + color: white; + padding: 20px; + text-align: center; +} + +nav a { + font-weight: bold; + background-color: #EAEAEA; + color: #625B5B; + padding: 10px; + margin: 50px; + border-radius: 20px; + cursor: pointer; +} + + +table { + border: 1px solid #625B5B; + width: 60%; + margin-left: 40px; + text-align: center; +} + +main { + padding: 20px; +} \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..bbb441a --- /dev/null +++ b/script.js @@ -0,0 +1,9 @@ +document.addEventListener('DOMContentLoaded', () => { + fetch('get.php') + .then(r => r.json()) + .then(data => { + const table = document.getElementById('tab'); + table.innerHTML = `KursCzas trwaniaCena` + + data.map($row => `${$row.nazwa}${$row.czas_trwania}${$row.cena}`).join(''); + }); +}); \ No newline at end of file