About the jQuery compiler
Fast, small JavaScript library. Runs in your browser. Run jQuery code in your browser with no install and no signup — the editor, the input and the output share one screen. jQuery 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 jQuery example
This is the program the jQuery editor opens with — run it as it is, then change it.
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<style>
body { font-family: sans-serif; padding: 2rem; }
.item { padding: 0.5rem; margin: 0.25rem 0; background: #f0f0f0; border-radius: 4px; }
.highlight { background: #e0e7ff; }
</style>
</head>
<body>
<h1>jQuery Demo</h1>
<input id="input" type="text" placeholder="Add an item..." />
<button id="add">Add</button>
<div id="list"></div>
<script>
$(function() {
var items = ['Learn jQuery', 'Build something', 'Have fun'];
function render() {
$('#list').empty();
$.each(items, function(i, item) {
$('<div class="item">').text(item).appendTo('#list');
});
}
The editor opens with the full program.
More Web UI Frameworks compilers
Browse all 109 languages — the same editor runs each of them, in the browser or on a shared runner.