BEU
VAULT
Course
100219 ยท Code Playground
All Units
โ
HTML
CSS
JS
Welcome to the Playground
Edit HTML, CSS, and JS โ preview updates live.
Click Me
body { background: #f8fafc; } h2 { color: var(--blue-500); border-bottom: 2px solid var(--blue-500); padding-bottom: 0.5rem; } button { background: var(--blue-500); color: white; border: none; border-radius: 4px; cursor: pointer; } button:hover { background: #2563eb; }
document.getElementById('demoBtn').addEventListener('click', function() { document.getElementById('demoOutput').textContent = 'Button clicked at ' + new Date().toLocaleTimeString(); console.log('Demo button was clicked!'); });
Live Preview
▶ Run
⤓ Export HTML
↺ Reset
Console
Clear