This commit is contained in:
alexander 2025-11-20 16:47:16 +07:00
parent 3412bb9eb9
commit 462c4f2f1f
7 changed files with 0 additions and 530 deletions

View File

@ -1,148 +0,0 @@
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profile Editor</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f8f9fa;
margin: 40px;
}
h2 {
text-align: center;
}
form {
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 8px rgba(0,0,0,0.2);
width: 400px;
margin: auto;
}
label {
display: block;
margin-top: 10px;
font-weight: bold;
}
input {
width: 100%;
padding: 8px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
margin-top: 15px;
padding: 8px 16px;
border: none;
border-radius: 5px;
cursor: pointer;
}
#tambah {
background-color: #007bff;
color: white;
}
#reset {
background-color: #6c757d;
color: white;
}
#daftar {
margin-top: 30px;
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 8px rgba(0,0,0,0.2);
width: 400px;
margin: 30px auto;
}
.profile-card {
border-bottom: 1px solid #ccc;
padding: 10px 0;
}
.hapus-btn {
background-color: #dc3545;
color: white;
border: none;
border-radius: 5px;
padding: 5px 10px;
cursor: pointer;
}
</style>
</head>
<body>
<h2>Profile Editor</h2>
<form id="profileForm">
<label>Nama:</label>
<input type="text" id="nama" placeholder="Masukkan nama" required>
<label>Tanggal Lahir:</label>
<input type="date" id="tgl" required>
<label>Kota:</label>
<input type="text" id="kota" placeholder="Masukkan kota" required>
<button type="button" id="tambah" onclick="tambahProfil()">Tambah Profile</button>
<button type="reset" id="reset">Reset Form</button>
</form>
<div id="daftar">
<h3>Daftar Profile</h3>
<div id="listProfile"></div>
</div>
<script>
let profiles = [];
function tambahProfil() {
const nama = document.getElementById("nama").value.trim();
const tgl = document.getElementById("tgl").value;
const kota = document.getElementById("kota").value.trim();
if (!nama || !tgl || !kota) {
alert("Semua data harus diisi!");
return;
}
// Hitung umur
const lahir = new Date(tgl);
const sekarang = new Date();
let umur = sekarang.getFullYear() - lahir.getFullYear();
const bulan = sekarang.getMonth() - lahir.getMonth();
if (bulan < 0 || (bulan === 0 && sekarang.getDate() < lahir.getDate())) {
umur--;
}
// Simpan ke array
profiles.push({ nama, tgl, kota, umur });
tampilkanProfile();
document.getElementById("profileForm").reset();
}
function tampilkanProfile() {
let output = "";
profiles.forEach((p, index) => {
output += `
<div class="profile-card">
<strong>${p.nama}</strong><br>
Umur: ${p.umur} tahun<br>
Tanggal Lahir: ${p.tgl}<br>
Kota: ${p.kota}<br>
<button class="hapus-btn" onclick="hapusProfile(${index})">Hapus</button>
</div>
`;
});
document.getElementById("listProfile").innerHTML = output;
}
function hapusProfile(i) {
profiles.splice(i, 1);
tampilkanProfile();
}
</script>
</body>
</html>

View File

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HELLO WORLD</title>
</head>
<body>
</body>
</html>

1
ai.md
View File

@ -1 +0,0 @@
kelaz king

View File

@ -1 +0,0 @@
ya aku mau test

View File

@ -1 +0,0 @@
<print> Ody </print>

View File

@ -1 +0,0 @@
ini cliff

View File

@ -1,367 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OCA Gaming Hub - Kelompok 8</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background: #0a0e27;
color: #fff;
overflow-x: hidden;
}
/* Header */
header {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
padding: 2rem 0;
border-bottom: 3px solid #00d4ff;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}
.header-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}
.logo {
font-size: 2rem;
font-weight: bold;
background: linear-gradient(45deg, #00d4ff, #0099ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
nav ul {
display: flex;
list-style: none;
gap: 2rem;
}
nav a {
color: #00d4ff;
text-decoration: none;
font-weight: 500;
transition: all 0.3s;
padding: 0.5rem 1rem;
border-radius: 5px;
}
nav a:hover {
background: rgba(0, 212, 255, 0.2);
box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}
/* Hero Section */
.hero {
background: linear-gradient(180deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%),
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(0,212,255,0.1)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="rgba(0,212,255,0.02)"/><rect width="1200" height="600" fill="url(%23grid)" /></svg>');
padding: 6rem 20px;
text-align: center;
min-height: 500px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.hero h1 {
font-size: 4rem;
margin-bottom: 1rem;
text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
animation: glow 2s ease-in-out infinite;
}
.hero p {
font-size: 1.5rem;
color: #00d4ff;
margin-bottom: 2rem;
}
@keyframes glow {
0%, 100% { text-shadow: 0 0 20px rgba(0, 212, 255, 0.5); }
50% { text-shadow: 0 0 30px rgba(0, 212, 255, 0.8); }
}
.cta-button {
display: inline-block;
background: linear-gradient(135deg, #00d4ff, #0099ff);
color: #000;
padding: 1rem 2rem;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
cursor: pointer;
border: none;
transition: all 0.3s;
font-size: 1.1rem;
}
.cta-button:hover {
transform: scale(1.05);
box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}
/* Container */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Sections */
section {
padding: 4rem 0;
border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}
section h2 {
font-size: 2.5rem;
margin-bottom: 3rem;
text-align: center;
color: #00d4ff;
text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}
/* Games Grid */
.games-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.game-card {
background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
border: 2px solid #00d4ff;
border-radius: 10px;
overflow: hidden;
transition: all 0.3s;
cursor: pointer;
box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}
.game-card:hover {
transform: translateY(-10px);
box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
border-color: #00ffff;
}
.game-icon {
font-size: 3rem;
padding: 1.5rem;
text-align: center;
background: rgba(0, 212, 255, 0.1);
}
.game-info {
padding: 1.5rem;
}
.game-info h3 {
color: #00d4ff;
margin-bottom: 0.5rem;
font-size: 1.3rem;
}
.game-info p {
color: #aaa;
font-size: 0.9rem;
line-height: 1.5;
}
/* Team Section */
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
}
.team-member {
background: rgba(0, 212, 255, 0.05);
border: 1px solid #00d4ff;
padding: 2rem;
border-radius: 10px;
text-align: center;
transition: all 0.3s;
}
.team-member:hover {
background: rgba(0, 212, 255, 0.15);
box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}
.team-member h3 {
color: #00d4ff;
margin-bottom: 0.5rem;
}
.team-member p {
color: #aaa;
font-size: 0.9rem;
}
/* Footer */
footer {
background: #0a0e27;
border-top: 2px solid #00d4ff;
padding: 2rem 0;
text-align: center;
color: #aaa;
box-shadow: 0 -5px 15px rgba(0, 212, 255, 0.1);
}
/* Responsive */
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
nav ul {
gap: 1rem;
}
.header-content {
flex-direction: column;
gap: 1rem;
}
}
</style>
</head>
<body>
<!-- Header -->
<header>
<div class="header-content">
<div class="logo">🎮 OCA Gaming Hub</div>
<nav>
<ul>
<li><a href="#games">Games</a></li>
<li><a href="#team">Team</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</div>
</header>
<!-- Hero Section -->
<section class="hero">
<h1>Welcome to OCA Gaming Hub</h1>
<p>Kelompok 8 - Gaming & Tech Excellence</p>
<button class="cta-button">Explore Games</button>
</section>
<!-- Games Section -->
<section id="games">
<div class="container">
<h2>Popular Games</h2>
<div class="games-grid">
<div class="game-card">
<div class="game-icon">🎮</div>
<div class="game-info">
<h3>Action Quest</h3>
<p>Epic adventure with challenging levels and thrilling gameplay</p>
</div>
</div>
<div class="game-card">
<div class="game-icon">👾</div>
<div class="game-info">
<h3>Space Invaders</h3>
<p>Classic arcade style game with modern graphics</p>
</div>
</div>
<div class="game-card">
<div class="game-icon"></div>
<div class="game-info">
<h3>Battle Arena</h3>
<p>Multiplayer competitive gaming experience</p>
</div>
</div>
<div class="game-card">
<div class="game-icon">🏆</div>
<div class="game-info">
<h3>Champion League</h3>
<p>Tournament mode with exciting rewards</p>
</div>
</div>
<div class="game-card">
<div class="game-icon">🌟</div>
<div class="game-info">
<h3>Galaxy Explorer</h3>
<p>Explore infinite space and discover new worlds</p>
</div>
</div>
<div class="game-card">
<div class="game-icon">💎</div>
<div class="game-info">
<h3>Treasure Hunt</h3>
<p>Puzzle-solving adventure with hidden treasures</p>
</div>
</div>
</div>
</div>
</section>
<!-- Team Section -->
<section id="team">
<div class="container">
<h2>Our Team - Kelompok 8</h2>
<div class="team-grid">
<div class="team-member">
<h3>Ody</h3>
<p>Game Developer & Designer</p>
<p style="margin-top: 1rem; font-size: 0.8rem; color: #00d4ff;">Lead Developer</p>
</div>
<div class="team-member">
<h3>Alex</h3>
<p>Frontend & UI Developer</p>
<p style="margin-top: 1rem; font-size: 0.8rem; color: #00d4ff;">Web Specialist</p>
</div>
<div class="team-member">
<h3>Cliff</h3>
<p>Backend & Systems Engineer</p>
<p style="margin-top: 1rem; font-size: 0.8rem; color: #00d4ff;">Infrastructure</p>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact">
<div class="container">
<h2>Get in Touch</h2>
<div style="text-align: center; padding: 2rem;">
<p style="font-size: 1.1rem; margin-bottom: 1rem;">Contact us for gaming opportunities & collaborations</p>
<a href="mailto:kelompok8@ocagaminghub.com" class="cta-button">Send Email</a>
</div>
</div>
</section>
<!-- Footfbhthbethbetheer -->
<footer>
<p>&copy; 2025 OCA Gaming Hub - Kelompok 8 (Ody, Alex, Cliff)</p>
<p>Gaming Excellence Through Innovation</p>
</footer>
</body>
</html>