Interactive Computer Lab
Learn by writing real code
Practise the practical side of your Computer Science syllabus without installing anything. Write HTML, CSS and JavaScript and watch a live preview, or run real Python — all safely inside your browser.
Web Playground
Build a web page with HTML, style it with CSS, and bring it to life with JavaScript. See your changes in a live preview and read console output as you go.
Open Web Playground →Python Playground
Write and run genuine Python in your browser — variables, loops, conditions and functions — with worked examples straight from the Class 10 programming chapters.
Open Python Playground →Why practise here
Safe & sandboxed
Your code runs in an isolated space in your own browser. It cannot affect the website or your device.
Private by design
Nothing you write is uploaded. Your work is saved only in this browser, on this device.
Curriculum-based
Every example maps to a Class 9 or Class 10 Computer Science chapter, so practice matches your syllabus.
Real languages
Real HTML, CSS and JavaScript, plus genuine CPython — the same Python you study for your exams.
Practice examples
Each playground comes preloaded with ready-to-edit examples. Pick one, read the short task, change the code, and run it to see what happens.
Web examples
My First Web Page
Class 9 · Chapter 5
The skeleton of every web page: headings, paragraphs and a list.
Style a Button with CSS
Class 9 · Chapter 5
Use CSS colours, padding and rounded corners to design a button.
JavaScript: Greet the User
Class 9 · Chapter 5
Read a name from an input box and show a greeting when a button is clicked.
Python examples
Hello, Python
Class 10 · Chapter 3
Your very first Python program using the print() function.
Variables and Data Types
Class 10 · Chapter 3
Store a whole number, a decimal and some text, then print them.
Sum of 1 to N
Class 10 · Chapter 4
Use a for loop and range() to add up the numbers from 1 to N.
Even or Odd
Class 10 · Chapter 4
Use an if / else statement and the modulo operator to test a number.
Multiplication Table
Class 10 · Chapter 4
Combine a loop with an f-string to print a times table.
How the lab works
The Web Playground runs your HTML, CSS and JavaScript inside a sandboxed frame that has no access to the rest of the site, your cookies, or your files — so you can experiment freely and safely.
The Python Playground uses Pyodide, a real version of Python compiled to run in the browser. The first time you run Python it downloads the language (this takes a few seconds); after that it is ready instantly. Everything runs on your device — no code is ever sent to a server.
This lab is a learning tool, not a full development environment. It is designed to help you understand the ideas in your syllabus by trying them for yourself. If you spot a problem or have an idea, please get in touch.