</>
HTML Online Renderer
Auto Run
Clear
Run
HTML
CSS
JavaScript
<div class="container"> <h1>🎉 Hello, World!</h1> <p>Welcome to the HTML Online Renderer</p> <div class="card"> <h2>Getting Started</h2> <p>Edit HTML, CSS, and JavaScript in the panels on the left, then click <strong>Run</strong> to see the result.</p> <button onclick="animate()">Click Me!</button> </div> <div class="circles"> <div class="circle c1"></div> <div class="circle c2"></div> <div class="circle c3"></div> </div> </div>
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; } .container { text-align: center; color: white; } h1 { font-size: 3rem; margin-bottom: 8px; animation: fadeInDown 0.8s ease; } p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 24px; } .card { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border-radius: 16px; padding: 32px; max-width: 450px; margin: 0 auto 32px; border: 1px solid rgba(255,255,255,0.2); animation: fadeInUp 0.8s ease 0.2s both; } .card h2 { margin-bottom: 12px; font-size: 1.5rem; } .card p { font-size: 0.95rem; line-height: 1.6; } button { margin-top: 16px; padding: 12px 32px; background: white; color: #764ba2; border: none; border-radius: 25px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; } button:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(0,0,0,0.2); } .circles { display: flex; justify-content: center; gap: 16px; } .circle { width: 20px; height: 20px; border-radius: 50%; animation: bounce 1.4s ease-in-out infinite; } .c1 { background: #ff6b6b; animation-delay: 0s; } .c2 { background: #feca57; animation-delay: 0.2s; } .c3 { background: #48dbfb; animation-delay: 0.4s; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } } @keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
function animate() { const btn = event.target; btn.textContent = '✨ Awesome!'; btn.style.background = 'linear-gradient(135deg, #f093fb, #f5576c)'; btn.style.color = 'white'; console.log('Button clicked! 🎉'); setTimeout(() => { btn.textContent = 'Click Me!'; btn.style.background = 'white'; btn.style.color = '#764ba2'; }, 2000); } console.log('JavaScript loaded successfully! 🚀');
Preview
localhost/preview
Console
Console
Clear
Ready
Characters: 0