CodeCraft Live
Auto-Run
Run (Ctrl + S)
HTML
Clear
<!DOCTYPE html> <html> <head> <title>My Page</title> </head> <body> <h1>Hello World!</h1> <p>Start coding here...</p> </body> </html>
CSS
Clear
body { font-family: Arial, sans-serif; padding: 20px; } h1 { color: #007acc; }
JavaScript
Clear
// Your JavaScript code here document.querySelector('h1').addEventListener('click', () => { alert('Hello from JavaScript!'); });