jQuery Online Compiler / Playground

Write, test, and execute jQuery code online directly in your browser with our free Online jQuery Compiler / Playground. Experiment with selectors, DOM manipulation, events, effects, and animations without creating local files or manually adding the jQuery CDN.

How to Use This jQuery Compiler

  1. Write or paste your jQuery code
    Enter your HTML and jQuery/JavaScript code in the Code Editor. You can test selectors, click events, text changes, CSS updates, animations, and other supported jQuery methods.
  2. Click the Run button
    Select Run to execute your code using the pre-loaded jQuery environment. Edit the code and run it again whenever you want to test another selector, event, or DOM operation.
  3. Check the Output preview
    View the result instantly in the Output preview screen. Use the available controls to copy, download, or clear the output while experimenting with your frontend code.

Key Features

  • Pre-Loaded jQuery Library: Start writing jQuery immediately without manually adding a CDN link.
  • Instant DOM Manipulation: Test text, HTML, attributes, classes, and styles in real time.
  • jQuery Selectors: Practice ID, class, element, attribute, and other supported selectors.
  • Event Handling: Test click(), change(), hover(), on(), and other browser events.
  • Effects & Animations: Experiment with methods such as hide(), show(), fadeIn(), fadeOut(), and slideToggle().
  • Custom JavaScript Support: Mix standard JavaScript with jQuery methods in the same example.
  • Zero Installation: No npm packages, local files, or manual jQuery setup required for supported examples.
  • Dark & Light Mode: Switch the Code Editor theme for comfortable development.
  • Instant Visual Execution: Click Run and quickly see DOM changes in the Output panel.
  • Output Controls: Copy, download, or clear the generated result directly from the Output screen.
1. How do I use jQuery selectors like $(document).ready() or $('h1') here?

You can use standard jQuery selectors and run your code after the page is ready.

				
					$(document).ready(function () {
    $("h1").text("Hello from jQuery!");
});
				
			

You can also select elements by ID or class:

				
					$("#message").text("Updated with jQuery");

$(".card").addClass("active");
				
			

For example, your HTML can be:

				
					<h1>Original Heading</h1>

<p id="message">
    Original text
</p>

<div class="card">
    Example Card
</div>
				
			

Click Run to see the DOM changes in the Output preview.

No. You can use this Online Oracle Compiler / SQL Runner directly from your browser without installing Oracle SQL Developer for supported SQL and PL/SQL exercises.

A full local or hosted Oracle environment may still be required for production databases, persistent schemas, user administration, advanced packages, external connections, and enterprise database management.

Yes, supported PL/SQL blocks can be written using BEGIN and END.

				
					BEGIN
    DBMS_OUTPUT.PUT_LINE('PL/SQL block executed');
END;
/
				
			

You can also declare variables:

				
					DECLARE
    number_one NUMBER := 10;
    number_two NUMBER := 20;
    total NUMBER;
BEGIN
    total := number_one + number_two;

    DBMS_OUTPUT.PUT_LINE(
        'Total = ' || total
    );
END;
/
				
			

PL/SQL also supports procedural features such as conditions and loops:

				
					DECLARE
    i NUMBER := 1;
BEGIN
    WHILE i <= 5 LOOP
        DBMS_OUTPUT.PUT_LINE('Number: ' || i);
        i := i + 1;
    END LOOP;
END;
/
				
			

SQL is primarily used to define, retrieve, and modify data in relational database tables. PL/SQL extends SQL with procedural programming features such as variables, conditions, loops, procedures, functions, and exception handling.

A standard SQL query looks like this:

				
					SELECT employee_name, salary
FROM employees
WHERE salary > 50000
ORDER BY salary DESC;
				
			

A PL/SQL block can contain programming logic:

				
					DECLARE
    salary NUMBER := 60000;
BEGIN
    IF salary > 50000 THEN
        DBMS_OUTPUT.PUT_LINE('High salary');
    ELSE
        DBMS_OUTPUT.PUT_LINE('Standard salary');
    END IF;
END;
/
				
			

Use SQL when you mainly need to work with database data, and PL/SQL when your Oracle task requires procedural logic around SQL operations.