Web Playground
Edit the HTML, CSS and JavaScript below and press Run to see your web page come to life. Pick an example to get started, then make it your own.
console.log() output and any errors from your JavaScript will appear here after you press Run.
Tip: press Ctrl + Enter to run. Your code runs in an isolated sandbox and is saved only in this browser.
About this playground
The three panels above are the three languages of the web working together. HTML provides the structure and content of the page. CSS controls how it looks — colours, spacing, fonts and layout. JavaScript adds behaviour, such as responding when a button is clicked. This mirrors the web development chapter of the Class 9 syllabus.
Anything you print with console.log() in your JavaScript appears in the Console tab, which is a key tool for understanding and debugging your programs. Your work is saved automatically in this browser, so you can come back to it later.
Ready to practise Python too? Head to the Python Playground, or read the full web development notes.