Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf67508068 | ||
|
|
0894e6c8aa | ||
|
|
c30eed43dc |
No files matched your search
@@ -1,3 +1,5 @@
|
|||||||
# msc-uxd-fs26-test
|
# msc-uxd-fs26-test
|
||||||
|
|
||||||
Test-Repository für Unterrichtszwecke
|
Test-Repository für Unterrichtszwecke
|
||||||
|
|
||||||
|
Test von Andrin hello ciao
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Document</title>
|
|
||||||
<link rel="stylesheet" href="styles.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Das ist eine Webseite</h1>
|
|
||||||
<section>
|
|
||||||
<h2>Über Graubünden</h2>
|
|
||||||
<p>Graubünden ist der größte und östlichste Kanton der Schweiz, bekannt für seine beeindruckende Alpenlandschaft, vielfältige Kultur und drei Amtssprachen: Deutsch, Rätoromanisch und Italienisch.</p>
|
|
||||||
<p>Die Region bietet zahlreiche Aktivitäten wie Wandern, Skifahren und kulturelle Veranstaltungen. Städte wie Chur, die älteste Stadt der Schweiz, sowie malerische Bergdörfer wie St. Moritz und Davos laden Besucher ein.</p>
|
|
||||||
<p>Graubünden ist auch Heimat des UNESCO-geschützten Nationalparks und vieler historischer Sehenswürdigkeiten, die die reiche Geschichte und Tradition des Kantons widerspiegeln.</p>
|
|
||||||
<figure>
|
|
||||||
<img src="graubuenden.jpg" alt="Berglandschaft in Graubünden" style="max-width:100%;height:auto;">
|
|
||||||
<figcaption>Typische Alpenlandschaft in Graubünden</figcaption>
|
|
||||||
</figure>
|
|
||||||
<button type="button" onclick="alert('Mehr erfahren über Graubünden!')">Mehr erfahren</button>
|
|
||||||
</section>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Das ist meine persönliche Datei.
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
* {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
background: linear-gradient(135deg, #74ebd5, #9face6);
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
background: rgba(255, 255, 255, 0.15);
|
|
||||||
padding: 40px 30px;
|
|
||||||
border-radius: 20px;
|
|
||||||
text-align: center;
|
|
||||||
color: white;
|
|
||||||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
|
|
||||||
max-width: 700px;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: 2.5rem;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
margin-bottom: 15px;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size: 1.1rem;
|
|
||||||
font-weight: 300;
|
|
||||||
opacity: 0.9;
|
|
||||||
}
|
|
||||||
|
|
||||||
.buttons {
|
|
||||||
margin-top: 25px;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
padding: 12px;
|
|
||||||
border: none;
|
|
||||||
border-radius: 10px;
|
|
||||||
font-size: 1rem;
|
|
||||||
cursor: pointer;
|
|
||||||
background: white;
|
|
||||||
color: #333;
|
|
||||||
transition: 0.3s;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover {
|
|
||||||
transform: scale(1.03);
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<title>Meine Webseite</title>
|
|
||||||
<link rel="stylesheet" href="salih-hasicic-app.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="card">
|
|
||||||
<h1 id="main-title">Das ist meine hunderste Webseite</h1>
|
|
||||||
<h2 id="greeting">Schön, dass du da bist!</h2>
|
|
||||||
<h3 id="fun-text">Have fun on here</h3>
|
|
||||||
|
|
||||||
<div class="buttons">
|
|
||||||
<button onclick="changeGreeting()">Begrüssung ändern</button>
|
|
||||||
<button onclick="changeBackground()">Hintergrund ändern</button>
|
|
||||||
<button onclick="toggleText()">Text verstecken / zeigen</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script src="script.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
function changeGreeting() {
|
|
||||||
const greeting = document.getElementById("greeting");
|
|
||||||
const hour = new Date().getHours();
|
|
||||||
|
|
||||||
if (hour < 12) {
|
|
||||||
greeting.textContent = "Guten Morgen und willkommen!";
|
|
||||||
} else if (hour < 18) {
|
|
||||||
greeting.textContent = "Guten Tag und schön, dass du da bist!";
|
|
||||||
} else {
|
|
||||||
greeting.textContent = "Guten Abend und viel Spass hier!";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function changeBackground() {
|
|
||||||
const colors = [
|
|
||||||
"linear-gradient(135deg, #74ebd5, #9face6)",
|
|
||||||
"linear-gradient(135deg, #ff9a9e, #fad0c4)",
|
|
||||||
"linear-gradient(135deg, #a18cd1, #fbc2eb)",
|
|
||||||
"linear-gradient(135deg, #f6d365, #fda085)"
|
|
||||||
];
|
|
||||||
|
|
||||||
const randomColor = colors[Math.floor(Math.random() * colors.length)];
|
|
||||||
document.body.style.background = randomColor;
|
|
||||||
}
|
|
||||||
|
|
||||||
function toggleText() {
|
|
||||||
const text = document.getElementById("fun-text");
|
|
||||||
|
|
||||||
if (text.style.display === "none") {
|
|
||||||
text.style.display = "block";
|
|
||||||
} else {
|
|
||||||
text.style.display = "none";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-57
@@ -1,57 +0,0 @@
|
|||||||
/* Basic reset */
|
|
||||||
body {
|
|
||||||
font-family: Arial, sans-serif;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
line-height: 1.6;
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2 {
|
|
||||||
color: #2c3e50;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
|
||||||
max-width: 800px;
|
|
||||||
margin: 2rem auto;
|
|
||||||
background: #fff;
|
|
||||||
padding: 1.5rem;
|
|
||||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
||||||
border-radius: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
figure {
|
|
||||||
margin: 1.5rem 0;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 100%;
|
|
||||||
height: auto;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
figcaption {
|
|
||||||
font-size: 0.9rem;
|
|
||||||
color: #555;
|
|
||||||
margin-top: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
display: block;
|
|
||||||
margin: 1rem auto;
|
|
||||||
padding: 0.75rem 1.5rem;
|
|
||||||
font-size: 1rem;
|
|
||||||
color: #fff;
|
|
||||||
background-color: #3498db;
|
|
||||||
border: none;
|
|
||||||
border-radius: 4px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background-color 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover {
|
|
||||||
background-color: #2980b9;
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Das ist Valéries Datei!!!
|
|
||||||
Reference in new issue
Block a user