Compare commits

..
Author SHA1 Message Date
Estelle Köhler 5a6b363093 webseite comedy 2026-03-12 11:43:38 +01:00
Estelle Köhler 52af606d12 button test 2026-03-12 11:00:51 +01:00
Estelle Köhler 3f01bebd36 HTML webseite 2026-03-12 10:53:32 +01:00
Estelle Köhler 29969be84f erster commit 2026-03-12 10:06:01 +01:00
13 changed files with 123 additions and 285 deletions

No files matched your search

-58
View File
@@ -1,58 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Graubündner Steinböcke</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Graubündner Steinböcke</h1>
<section id="intro">
<h2>Willkommen</h2>
<p>Der Graubündner Steinbock ist ein Symbol der Alpen und hat sich perfekt an das raue Gebirgsklima angepasst. Mit seinem beeindruckenden Geweih und der robusten Statur klettert er elegant über steile Felsen.</p>
</section>
<section id="gallery">
<h2>Bildergalerie</h2>
<div class="gallery">
<img src="steinbock1.jpg" alt="Steinbock im Fels" class="gallery-img active">
<img src="steinbock2.jpg" alt="Steinbock in den Alpen" class="gallery-img">
</div>
<button id="nextImage">Nächstes Bild</button>
</section>
<section id="facts">
<h2>Interessante Fakten</h2>
<button id="toggleFacts">Fakten anzeigen</button>
<div id="factBox" class="fact-box">
<ul>
<li>Steinböcke können bis zu 3.50 Meter hoch springen.</li>
<li>Sie erreichen ein Alter von etwa 15–20 Jahren in freier Wildbahn.</li>
<li>Ihre Hufe sind speziell geformt, um auf Eis und Fels Halt zu finden.</li>
<li>Jedes Jahr im Herbst schiebt der Bock sein Geweih ab und bildet es neu.</li>
</ul>
</div>
</section>
<script>
// Bildwechsler
const imgs = document.querySelectorAll('.gallery-img');
let idx = 0;
document.getElementById('nextImage').addEventListener('click', () => {
imgs[idx].classList.remove('active');
idx = (idx + 1) % imgs.length;
imgs[idx].classList.add('active');
});
// Fakten ein-/ausblenden
const toggleBtn = document.getElementById('toggleFacts');
const factBox = document.getElementById('factBox');
toggleBtn.addEventListener('click', () => {
factBox.classList.toggle('show');
toggleBtn.textContent = factBox.classList.contains('show') ? 'Fakten verbergen' : 'Fakten anzeigen';
});
</script>
</body>
</html>
+122
View File
@@ -0,0 +1,122 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Estelle's Comedy Show</title>
<style>
:root {
--bg-color: #111;
--text-color: #eee;
--accent-color: #ff69b4; /* pink accent */
--accent2-color: #9370db; /* lila accent */
--font-stack: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
margin: 0;
font-family: var(--font-stack);
color: var(--text-color);
background-color: var(--bg-color);
text-align: center;
overflow-x: hidden;
}
header {
background-color: #222;
padding: 1rem;
text-align: center;
}
header h1 {
margin: 0;
font-size: 2.5rem;
}
.hero {
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.hero img {
max-height: 400px;
width: auto;
border-radius: 8px;
border: 4px solid var(--accent-color);
}
.tour {
padding: 2rem;
}
.tour table {
width: 100%;
max-width: 600px;
margin: 0 auto;
border-collapse: collapse;
}
.tour th, .tour td {
border: 1px solid #444;
padding: 0.5rem;
text-align: center;
}
.tour th {
background-color: #222;
}
@media (max-width: 600px) {
.hero img {
max-width: 200px;
}
}
</style>
</head>
<body>
<header>
<h1>Estelle's Comedy Show</h1>
</header>
<section class="hero">
<h2>Live on stage!</h2>
<img src="image_2e567a.png" alt="Estelle auf der Bühne">
</section>
<section class="tour">
<h2>Tour-Daten</h2>
<table>
<thead>
<tr><th>Datum</th><th>Ort</th><th>Status</th></tr>
</thead>
<tbody>
<tr><td>15. April 2026</td><td>Zürich</td><td>Tickets verfügbar</td></tr>
<tr><td>22. April 2026</td><td>Bern</td><td>Ausverkauft</td></tr>
<tr><td>30. April 2026</td><td>Basel</td><td>Tickets verfügbar</td></tr>
<tr><td>5. Mai 2026</td><td>Lausanne</td><td>Vorverkauf</td></tr>
</tbody>
</table>
</section>
<footer>
<p>&copy; 2026 Estelle's Comedy Show</p>
</footer>
<script>
// cursor laugh effect
document.addEventListener('mousemove', function(e) {
const span = document.createElement('span');
span.textContent = 'Ha Ha Ha';
span.style.position = 'fixed';
span.style.left = e.pageX + 'px';
span.style.top = e.pageY + 'px';
span.style.color = 'var(--accent-color)';
span.style.pointerEvents = 'none';
span.style.opacity = '1';
span.style.transition = 'transform 1s ease-out, opacity 1s ease-out';
const size = Math.random() * 10 + 14;
span.style.fontSize = size + 'px';
span.style.transform = `translate(-50%, -50%) rotate(${(Math.random()*40-20)}deg)`;
document.body.appendChild(span);
requestAnimationFrame(() => {
span.style.transform += ' translateY(-30px)';
span.style.opacity = '0';
});
setTimeout(() => document.body.removeChild(span), 1000);
});
</script>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
Welcome to the chaos
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

-1
View File
@@ -1 +0,0 @@
Hello World
-1
View File
@@ -1 +0,0 @@
Das ist meine persönliche Datei.
-65
View File
@@ -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);
}
-24
View File
@@ -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
View File
@@ -1 +0,0 @@
Das ist Salihs Datei!
-34
View File
@@ -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";
}
}
-99
View File
@@ -1,99 +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;
}
/* gallery slider */
.gallery {
display: flex;
justify-content: center;
align-items: center;
position: relative;
height: 300px;
overflow: hidden;
}
.gallery-img {
max-width: 100%;
max-height: 100%;
opacity: 0;
position: absolute;
transition: opacity 0.6s ease;
}
.gallery-img.active {
opacity: 1;
}
/* facts box */
.fact-box {
max-width: 800px;
margin: 1rem auto;
padding: 1rem;
background: #ecf0f1;
border-radius: 6px;
display: none;
animation: fadeIn 0.5s ease-in;
}
.fact-box.show {
display: block;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
-1
View File
@@ -1 +0,0 @@
Das ist Valéries Datei!!!
-1
View File
@@ -1 +0,0 @@
Das ist meine persönliche Datei.