Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any editor like jsfiddle available for local machine [closed]

Is there an editor that works like jsfiddle on my local machine, without having to be connected to the internet.

like image 245
Mike Avatar asked Nov 22 '11 05:11

Mike


People also ask

Does JSFiddle run locally?

jsfiddle's js is all local too. Local to browser.

What is better than JSFiddle?

CodePen, jQuery, CodeSandbox, StackBlitz, and Visual Studio Code are the most popular alternatives and competitors to JSFiddle.

Which is better CodePen or JSFiddle?

If you want to control all the things, set up a local host and keep it on your machine until you're done. codepen for mocking CSS and seeing immediate changes. jsFiddle for running experiments on patterns in JS and seeing immediate results (usually a subset of what I'm trying to accomplish in a larger project).

Is JSFiddle an IDE?

JSFiddle is an online IDE which is designed to allow users to edit and run HTML, JavaScript, and CSS code on a single page.


2 Answers

Check out Remy Sharp's JSBin. Installation instructions here.

like image 57
pradeek Avatar answered Sep 18 '22 18:09

pradeek


You can create a plain text file, say test.html, then write your JavaScript and open the file in a browser. If you want to reference any libraries, just download them to the same folder and reference them.

<script type="text/javascript" src="jquery.min.js"></script>
<script>
    alert("Hello World!");
    $("#foo").hide();
</script>

<div id="foo">
    Hello World
</div>

Or you can try something like vimfiddler.

like image 36
Chris Fulstow Avatar answered Sep 21 '22 18:09

Chris Fulstow