Free coin
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Tap to Earn</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', sans-serif;
}
body {
background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
color: white;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.site-frame {
background: rgba(255, 255, 255, 0.05);
border-radius: 20px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
max-width: 400px;
width: 100%;
padding: 25px;
backdrop-filter: blur(10px);
}
header {
text-align: center;
font-size: 1.5em;
font-weight: bold;
margin-bottom: 20px;
}
.stats {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
}
.stat {
background: rgba(255, 255, 255, 0.1);
padding: 10px 20px;
border-radius: 10px;
font-size: 1.2em;
width: 45%;
text-align: center;
}
.coin-container {
display: flex;
justify-content: center;
align-items: center;
margin: 20px 0;
}
.coin {
width: 200px;
height: 200px;
cursor: pointer;
transition: transform 0.2s ease;
}
.coin:active {
transform: scale(0.95);
}
.tasks {
margin-top: 30px;
}
.task {
background: rgba(255, 255, 255, 0.05);
margin: 10px 0;
padding: 15px;
border-radius: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.task-info {
flex: 1;
}
.task-title {
font-size: 1.1em;
font-weight: bold;
}
.task-desc {
font-size: 0.9em;
opacity: 0.8;
}
.start-btn {
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 15px;
border-radius: 8px;
cursor: pointer;
font-size: 0.9em;
transition: background 0.3s ease;
text-decoration: none;
}
.start-btn:hover {
background-color: #45a049;
}
@keyframes pop {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
</style>
</head>
<body>
<!-- Centered Frame -->
<div class="site-frame">
<!-- Dashboard Header -->
<header>📊 Dashboard</header>
<!-- Stats Section -->
<div class="stats">
<div class="stat" id="points">Points: 0</div>
<div class="stat" id="energy">Energy: 100</div>
</div>
<!-- Tap Coin Section -->
<div class="coin-container">
<img src="https://www.citypng.com/public/uploads/preview/hd-realistic-gold-btc-bitcoin-coin-png-704081695127106j078sfgrlr.png"
alt="BTC Coin"
class="coin"
onclick="tap()" />
</div>
<!-- Tasks Section -->
<div class="tasks">
<h2 style="text-align:center; margin-bottom:10px;">🎯 Tasks</h2>
<div class="task">
<div class="task-info">
<div class="task-title">📺 Watch & Earn</div>
<div class="task-desc">Earn 50 points by watching a video</div>
</div>
<a href="https://www.effectivegatecpm.com/v3ieqkv78?key=354060bb4dff4d928b73034a62e306f9"
target="_blank" class="start-btn">Start Now</a>
</div>
<div class="task">
<div class="task-info">
<div class="task-title">🔔 Subscribe & Earn</div>
<div class="task-desc">Earn 100 points by subscribing</div>
</div>
<a href="https://www.effectivegatecpm.com/y2km40zypq?key=99769906669b3d7f7a73635a18a8b958"
target="_blank" class="start-btn">Start Now</a>
</div>
<div class="task">
<div class="task-info">
<div class="task-title">🎮 Play & Earn</div>
<div class="task-desc">Earn 75 points by playing a game</div>
</div>
<a href="https://www.effectivegatecpm.com/bvyuadqa97?key=78aab83549a10e2ea3491fa52b6b1253
target="_blank" class="start-btn">Start Now</a>
</div>
</div>
</div>
<!-- JavaScript Logic -->
<script>
let points = 0;
let energy = 100;
function updateDisplay() {
document.getElementById("points").innerText = "Points: " + points;
document.getElementById("energy").innerText = "Energy: " + energy;
}
function tap() {
if (energy > 0) {
points += 1;
energy -= 1;
updateDisplay();
// Animation trigger
const coin = document.querySelector(".coin");
coin.style.animation = 'none';
void coin.offsetWidth;
coin.style.animation = 'pop 0.2s ease-in-out';
} else {
alert("No energy left! Complete tasks to restore.");
}
}
function startTask(reward) {
points += reward;
energy = Math.min(energy + 20, 100); // Restore some energy
updateDisplay();
}
updateDisplay(); // Initial call
</script>
</body>
</html>
Comments
Post a Comment