From 70ac115da7d9a765ddae56259c12a380d235bbff Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 8 Jul 2026 16:10:38 +0200 Subject: [PATCH] Leuchtturm Stand 08.Juli --- .editorconfig | 11 ++ .gitattributes | 194 +++++++++++++++++++ .gitignore | 6 + .idea/.gitignore | 10 + .idea/misc.xml | 6 + .idea/modules.xml | 8 + Leuchtturm/index.html | 197 ++++++++++++++++++++ Leuchtturm/script.js | 39 ++++ Leuchtturm/src/Barcelona.png | Bin 0 -> 404745 bytes Leuchtturm/src/Barcelona2.png | Bin 0 -> 337876 bytes Leuchtturm/src/BergMitNebel.jpg | Bin 0 -> 659466 bytes Leuchtturm/src/BergMitNebel2.jpg | Bin 0 -> 697711 bytes Leuchtturm/src/Bergdorf.jpg | Bin 0 -> 1070062 bytes Leuchtturm/src/HerrenHausAmMeer.jpg | Bin 0 -> 575137 bytes Leuchtturm/src/HerrenhausAufMauer.jpg | Bin 0 -> 1098762 bytes Leuchtturm/src/Leuchtturm.jpg | Bin 0 -> 529457 bytes Leuchtturm/src/PalmenVorStrand.jpg | Bin 0 -> 796300 bytes Leuchtturm/src/SkylineNacht.jpg | Bin 0 -> 685226 bytes Leuchtturm/src/StelzendorfMalediven.jpg | Bin 0 -> 1006318 bytes Leuchtturm/src/Toskana.jpg | Bin 0 -> 585699 bytes Leuchtturm/src/Toskana2.jpg | Bin 0 -> 703726 bytes Leuchtturm/src/Wohnzimmer.png | Bin 0 -> 415357 bytes Leuchtturm/style.css | 99 ++++++++++ basics/Funktionen/index.html | 16 ++ basics/Funktionen/script.js | 6 + basics/Meine erste Seite/css/style.css | 75 ++++++++ basics/Meine erste Seite/img/.gitkeep | 0 basics/Meine erste Seite/index.html | 143 ++++++++++++++ basics/Meine erste Seite/js/app.js | 0 basics/Meine erste Seite/js/vendor/.gitkeep | 0 basics/Variablen/index.html | 16 ++ basics/Variablen/script.js | 9 + 32 files changed, 835 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 .idea/.gitignore create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 Leuchtturm/index.html create mode 100644 Leuchtturm/script.js create mode 100644 Leuchtturm/src/Barcelona.png create mode 100644 Leuchtturm/src/Barcelona2.png create mode 100644 Leuchtturm/src/BergMitNebel.jpg create mode 100644 Leuchtturm/src/BergMitNebel2.jpg create mode 100644 Leuchtturm/src/Bergdorf.jpg create mode 100644 Leuchtturm/src/HerrenHausAmMeer.jpg create mode 100644 Leuchtturm/src/HerrenhausAufMauer.jpg create mode 100644 Leuchtturm/src/Leuchtturm.jpg create mode 100644 Leuchtturm/src/PalmenVorStrand.jpg create mode 100644 Leuchtturm/src/SkylineNacht.jpg create mode 100644 Leuchtturm/src/StelzendorfMalediven.jpg create mode 100644 Leuchtturm/src/Toskana.jpg create mode 100644 Leuchtturm/src/Toskana2.jpg create mode 100644 Leuchtturm/src/Wohnzimmer.png create mode 100644 Leuchtturm/style.css create mode 100644 basics/Funktionen/index.html create mode 100644 basics/Funktionen/script.js create mode 100644 basics/Meine erste Seite/css/style.css create mode 100644 basics/Meine erste Seite/img/.gitkeep create mode 100644 basics/Meine erste Seite/index.html create mode 100644 basics/Meine erste Seite/js/app.js create mode 100644 basics/Meine erste Seite/js/vendor/.gitkeep create mode 100644 basics/Variablen/index.html create mode 100644 basics/Variablen/script.js diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f29d257 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..c664a90 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,194 @@ +## GITATTRIBUTES FOR WEB PROJECTS +# +# These settings are for any web project. +# +# Details per file setting: +# text These files should be normalized (i.e. convert CRLF to LF). +# binary These files are binary and should be left untouched. +# +# Note that binary is a macro for -text -diff. +###################################################################### + +## AUTO-DETECT +## Handle line endings automatically for files detected as +## text and leave all files detected as binary untouched. +## This will handle all files NOT defined below. +* text=auto + +## SOURCE CODE +*.bat text eol=crlf +*.coffee text +*.css text +*.htm text +*.html text +*.inc text +*.ini text +*.js text +*.json text +*.jsx text +*.less text +*.od text +*.onlydata text +*.php text +*.pl text +*.py text +*.rb text +*.sass text +*.scm text +*.scss text +*.sh text eol=lf +*.sql text +*.styl text +*.tag text +*.ts text +*.tsx text +*.xml text +*.xhtml text + +## DOCKER +*.dockerignore text +Dockerfile text + +## DOCUMENTATION +*.markdown text +*.md text +*.mdwn text +*.mdown text +*.mkd text +*.mkdn text +*.mdtxt text +*.mdtext text +*.txt text +AUTHORS text +CHANGELOG text +CHANGES text +CONTRIBUTING text +COPYING text +copyright text +*COPYRIGHT* text +INSTALL text +license text +LICENSE text +NEWS text +readme text +*README* text +TODO text + +## TEMPLATES +*.dot text +*.ejs text +*.haml text +*.handlebars text +*.hbs text +*.hbt text +*.jade text +*.latte text +*.mustache text +*.njk text +*.phtml text +*.tmpl text +*.tpl text +*.twig text + +## LINTERS +.babelrc text +.csslintrc text +.eslintrc text +.htmlhintrc text +.jscsrc text +.jshintrc text +.jshintignore text +.prettierrc text +.stylelintrc text + +## CONFIGS +*.bowerrc text +*.cnf text +*.conf text +*.config text +.browserslistrc text +.editorconfig text +.gitattributes text +.gitconfig text +.gitignore text +.htaccess text +*.npmignore text +*.yaml text +*.yml text +browserslist text +Makefile text +makefile text + +## HEROKU +Procfile text +.slugignore text + +## GRAPHICS +*.ai binary +*.bmp binary +*.eps binary +*.gif binary +*.ico binary +*.jng binary +*.jp2 binary +*.jpg binary +*.jpeg binary +*.jpx binary +*.jxr binary +*.pdf binary +*.png binary +*.psb binary +*.psd binary +*.svg text +*.svgz binary +*.tif binary +*.tiff binary +*.wbmp binary +*.webp binary + +## AUDIO +*.kar binary +*.m4a binary +*.mid binary +*.midi binary +*.mp3 binary +*.ogg binary +*.ra binary + +## VIDEO +*.3gpp binary +*.3gp binary +*.as binary +*.asf binary +*.asx binary +*.fla binary +*.flv binary +*.m4v binary +*.mng binary +*.mov binary +*.mp4 binary +*.mpeg binary +*.mpg binary +*.ogv binary +*.swc binary +*.swf binary +*.webm binary + +## ARCHIVES +*.7z binary +*.gz binary +*.jar binary +*.rar binary +*.tar binary +*.zip binary + +## FONTS +*.ttf binary +*.eot binary +*.otf binary +*.woff binary +*.woff2 binary + +## EXECUTABLES +*.exe binary +*.pyc binary diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..427305a --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +# Include your project-specific ignores in this file +# Read about how to use .gitignore: https://help.github.com/articles/ignoring-files +# Useful .gitignore templates: https://github.com/github/gitignore +node_modules +dist +.cache \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..ab1f416 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..4b151ab --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..5238425 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Leuchtturm/index.html b/Leuchtturm/index.html new file mode 100644 index 0000000..b56f345 --- /dev/null +++ b/Leuchtturm/index.html @@ -0,0 +1,197 @@ + + + + + Reiseagentur Leuchtturm + + + + +
+

Reiseagentur Leuchtturm

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Leuchtturm/script.js b/Leuchtturm/script.js new file mode 100644 index 0000000..fc8bdaf --- /dev/null +++ b/Leuchtturm/script.js @@ -0,0 +1,39 @@ +"use strict"; + +let currentPage = null; + +/** + * Diese Funktion wird beim Klick auf einen der Buttons im Header aufgerufen. Der geklickte Button erhält die Klasse + * 'active' und kann dadurch in css separat angesprochen werden. + * @param sourceElement Das Element, dessen Klick zum Aufruf der Funktion geführt hat + * @param page Die Seite, die geladen werden soll + */ +function loadPage(sourceElement, page){ + if (currentPage !== null) { + currentPage.classList.remove("active"); + } + currentPage = sourceElement; + currentPage.classList.add("active"); + + showPage(page); +} + +/** + * Setzt den Inhalt des #content-Bereichs auf die übergebene Seite. + * Lädt die Inhalte aus dem entsprechenden