It’s a little coding playground in your browser. You write HTML, CSS and JavaScript in three tabs on the left,
and the result shows up on the right as you type. No setup, no files, no refreshing.
It’s perfect for trying out an idea, practising what you learned in a tutorial, building a quick demo for a
teammate, or testing a bug in isolation before you fight with it in your real project. When you’re happy,
download everything as one .html file or share it with a link.
How to Use It – Step by Step
Four quick steps. Copy the little examples into the editor as you go.
Step 1 Write Your HTML
Start in the HTML tab. You don’t need the whole <html> and
<body> setup. Just write the part you care about.
Try it: a small card
<divclass="card"><h2>Ada Lovelace</h2><p>Wrote the first computer program.</p></div>
Step 2 Style It with CSS
Switch to the CSS tab and add your styles. They’re applied to the preview right away, so
you can nudge a padding or a color and see the change instantly.
The JS tab runs after your HTML loads, so you can grab elements by id and make them do
things. Press Ctrl + Enter to run it again any time, or untick Auto run
if you’d rather run it by hand.
Try it: a click counter
<buttonid="count">Clicked 0 times</button><script>
let n = 0;
document.getElementById('count').onclick = (e) => {
n++;
e.target.textContent = 'Clicked ' + n + ' times';
};
</script>
Go ahead, click it:
💡 In the editor you’d put the button in the HTML tab and only the code between the script tags in the JS tab.
Step 4 Check, Download or Share
Your page works? A few things you can do next:
Check other screens: switch the preview to Tablet or Mobile to see how it holds up.
Download: get one .html file with your CSS and JS built in, ready to open anywhere.
Share: send a link that opens all three tabs exactly as you left them.
Just want to look at an existing HTML file instead of writing one? Use the HTML Viewer.
Frequently Asked Questions
Is my code saved?
Yes, in this browser. Your last HTML, CSS and JS are kept, so they are still there when you come back on the same device. To move your work somewhere else, download the .html file or create a share link.
Where do console.log messages go?
Open your browser’s developer tools (F12, or right-click and choose Inspect) and look at the Console tab. Messages from the preview show up there, along with any errors in your JavaScript.
Can I use Bootstrap, Tailwind or jQuery?
Sure. Add the <link> or <script> tag for the library from a CDN like jsDelivr or cdnjs at the top of the HTML tab, and it loads in the preview just like on a real page.
My page froze. What happened?
Usually a JavaScript loop that never ends, like while(true) {}. Untick Auto run while you fix it, or untick JavaScript, then click Run when you are ready. Refreshing the page also stops it.
Do I need to write <html>, <head> and <body>?
No. Write just the bits you need in the HTML tab. Your CSS and JS are added to the page for you. If you paste a full document, the CSS goes into its <head> and the JS goes at the end of its <body>.
Can I share my code with someone?
Yes. Click Share and you get a link that opens all three tabs exactly as you left them. Sign in with Google if you want to see and delete your links later from your Dashboard.
Is it free?
Completely. No signup, no limits. Everything runs in your browser, and your code is only sent to our server if you click Share.