Coding Ground
๐
15
๐main.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Coding Ground Preview</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #0f172a;
color: #e2e8f0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
text-align: center;
background: #1e293b;
padding: 2rem;
border-radius: 1rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
border: 1px solid #334155;
}
h1 {
color: #38bdf8;
font-size: 2.5rem;
margin-bottom: 1rem;
}
button {
background: #3b82f6;
color: white;
border: none;
padding: 0.75rem 1.5rem;
font-size: 1rem;
border-radius: 0.5rem;
cursor: pointer;
transition: all 0.2s;
}
button:hover { background: #2563eb; transform: translateY(-2px); }
</style>
</head>
<body>
<div class="container">
<h1>๐ Ready to Code?</h1>
<p>This is your premium coding playground.</p>
<br>
<button onclick="changeText()">Click Me</button>
<p id="demo" style="margin-top: 1rem; color: #94a3b8;"></p>
</div>
<script>
function changeText() {
document.getElementById('demo').innerText = "Hello from the Console! ๐";
console.log("Button clicked at " + new Date().toLocaleTimeString());
}
console.log("System Ready...");
</script>
</body>
</html>
Browser Preview
Console Output
Run your code to see output here