About the HTML/CSS/JS compiler
Write HTML, CSS, and JS with a live preview panel. Run HTML/CSS/JS code in your browser with no install and no signup — the editor, the input and the output share one screen. HTML/CSS/JS compiles and runs on your own device through WebAssembly, so once the page has loaded it keeps working without a network connection.
Press Run to execute the program, edit it and press Run again, or paste your own code over it. Everything you type stays in the page; the editor caches your work locally so a reload does not lose it.
A HTML/CSS/JS example
This is the program the HTML/CSS/JS editor opens with — run it as it is, then change it.
<!DOCTYPE html>
<html>
<head>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #0a0a1a; font-family: 'Segoe UI', sans-serif; display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.game { text-align: center; }
h1 { color: #00d4ff; font-size: 1.8rem; margin-bottom: 0.5rem; }
.score { color: #888; font-size: 0.9rem; margin-bottom: 1rem; }
.grid { display: grid; grid-template-columns: repeat(3, 80px); gap: 8px; margin: 0 auto 1.5rem; }
.cell { width: 80px; height: 80px; background: #1a1a2e; border: 2px solid #2a2a4a; border-radius: 12px; font-size: 2rem; color: #fff; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.cell:hover { background: #2a2a4a; border-color: #00d4ff; transform: scale(1.05); }
.cell.x { color: #00d4ff; text-shadow: 0 0 10px #00d4ff55; }
.cell.o { color: #ff6b6b; text-shadow: 0 0 10px #ff6b6b55; }
.cell.win { animation: pulse 0.5s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: scale(1.1); background: #2a2a4a; } }
.status { color: #ccc; font-size: 1.1rem; margin-bottom: 1rem; min-height: 1.5rem; }
button { background: linear-gradient(135deg, #00d4ff, #0099cc); color: #fff; border: none; padding: 0.6rem 1.5rem; border-radius: 8px; font-size: 0.9rem; cursor: pointer; transition: transform 0.2s; }
button:hover { transform: scale(1.05); }
</style>
</head>
<body>
<div class="game">
<h1>Tic Tac Toe</h1>
The editor opens with the full program.
More Web & Scripting compilers
Browse all 109 languages — the same editor runs each of them, in the browser or on a shared runner.