HTML CSS JS Playground
HTML CSS JS Playground is a live code editor that sits on a MockFlow board. Write HTML, CSS and JavaScript in three panes and watch the result run in a preview next to them, with a console that shows logs and errors as you type.
Use HTML CSS JS Playground together on your board.
Everyone on the board works in the same playground at once. You see who is typing in each pane, where their cursor is, and you can leave comments on any line, so a team can build, teach or review a small piece of front end code together without leaving the board.
- Live preview and console. The preview runs your code as you type, and the console shows logs, errors and alerts, so you can see what broke and on which line.
- Code together in real time. Each pane shows who is typing and holds it for them for a moment, so two people never type over each other. Live cursors show where everyone is working.
- Line comments and replies. Leave a comment on any line, reply in a thread and resolve it when it is done. Comments follow their line when the code above them changes.
- Popular libraries built in. Tailwind, jQuery, React, Vue and D3 load from MockFlow with one click. If your code uses a library that is not on, the console tells you which one to add.
- AI that builds and fixes. Describe an app and AI writes the HTML, CSS and JavaScript. Ask it to change what is there, or use Fix with AI when the console shows an error. Undo puts the code back.
- Safe by design. Your code runs in a sandboxed preview with no network access. Endless loops are stopped with a note in the console instead of freezing the board.
How to use HTML CSS JS Playground.
Add it to a board
Open Add anything, the plus button in the bottom toolbar, then Artifacts, and pick HTML CSS JS Playground. Or use Use on a board on this page to open a new board with it already on.
Start from a starter or from scratch
The playground opens empty. Type straight into the HTML, CSS or JS pane, load the Button, Card or Canvas starter, or describe what you want and let AI build it.
Watch it run
With Auto run on, the preview updates a moment after you stop typing. Turn it off and use Run preview when you want to run by hand. Open the Console to read logs and errors.
Add a library
Open More options, then Libraries, and turn on Tailwind, jQuery, React, Vue or D3. Everyone on the board gets the same libraries.
Comment on a line
Click a line number to leave a comment on that line. Others can reply or resolve it, and the person who last edited that pane gets a notification.
Pick a layout
Switch between Stacked, Tabs, Preview below and Preview only from the header. Your layout is your own and does not change anyone else's view.
Take it with you
Use Download .html from More options to save the whole playground as one file you can open in any browser.
Who uses HTML CSS JS Playground.
A teacher running a coding lesson
Students watch the teacher build a page live on the board, then try changes themselves and ask questions as comments on the exact line.
A design and engineering team testing an idea
Next to the wireframes, a developer builds a quick working version of a button, card or animation so everyone can try it before it goes into the product.
An interviewer pairing with a candidate
Both people write and run front end code in the same playground, with live cursors and a console to talk through the result.
A team reviewing a snippet
Paste the code in, run it, and leave comments on the lines that need work. Reviewers on the board can comment too.
A workshop on JavaScript libraries
Turn on React, Vue or D3 and walk the group through a small example that runs right on the board.
Add HTML CSS JS Playground to your board.
Use on a board opens a new board with HTML CSS JS Playground already on it. To add it to a board you already have, follow these steps. Each copy keeps its own data, so a vote on one board never changes another.
Open your board
Open the MockFlow board you want to use it on.
Add it from the Artifact Library
Click Add anything (the plus button) in the toolbar at the bottom of the board, switch to Artifacts and pick HTML CSS JS Playground under Utilities. Adding it does not use AI credits.
Use it together
Click Interact with Component (the hand button), or switch the board to Play mode. Everyone on the board uses the same app, and Reset shared data clears it for the next session.
