EzDevInfo.com

jsfiddle interview questions

Top jsfiddle frequently asked interview questions

Is there a direct link to the latest revision in JSFiddle?

I have 3 revisions of my fiddle (http://jsfiddle.net/journeymanmw/9xLtH/3/) and I’m constantly updating it. I want to have a reference to the latest available revision so I don’t have to update the revision number in the URL every time I navigate to it. Is it possible?


Source: (StackOverflow)

Link to no framed HTML in jsBin or jsFiddle

Is there a way in jsBin or jsFiddle to get a link to the page you created as is, without being embed inside a frame? If not, is there such service (something that would let me quickly create an HTML page and see it live with one click)?


Source: (StackOverflow)

Advertisements

how to search JSFiddle code of interest?

IS there a way to search among the community for JSFiddle specific code?

Fiddles that would have been tagged by categories, for example.


Source: (StackOverflow)

How can I see which versions of a JSFiddle are available?

JSFiddle uses urls in the form of http://jsfiddle.net/<user>/<script>/<revision>/ where revision is an incremental number. Is there any way to see other revisions of a script easily via a GUI interface or is the only way to manipulate the URL?

Is there any easy way to know how many revisions a script has without needing to manually increment the variable and check to see if a script exists there?


Source: (StackOverflow)

Alternatives to jsfiddle.net [closed]

Besides jsbin.com and dabblet, what other alternatives are there that look like jsfiddle?


Source: (StackOverflow)

See previous and subsequent versions of a JSFiddle page

Is there any way to see all previous and subsequent versions of a JSFiddle page?

This page here was edited from a previous version, but I can't find a list of previous versions.

I hope JSFiddle has some kind of revision history tool that makes it possible to see previous and later versions of a page.

Does such a feature exist?


Source: (StackOverflow)

How do I make a script public in JSFiddle?

If I have a private script, how can I make it public?

According to JSFiddle, the script must be the base version and have a title.

My current script has no title. I tried entering in a title and then updating the script. The problem is that it then no longer becomes the base version of the script. If I try changing it to become the base version, the title disappears.


Source: (StackOverflow)

How do I change a JSFiddle to no longer be public?

I created a new JSFiddle and made it public by entering a title upon saving it the first time.

If I try removing the title and then updating the script and setting the new version as the base, the original script which I made public still appears in my public profile with a -0 at the end. Is there any way to remove this script from the public listing?


Source: (StackOverflow)

Can full screen mode be activated in JSFiddle?

I have the following JSFiddle, http://jsfiddle.net/brantolsen/ejUWt/. It does the simple task of changing from full screen to non-full screen each time the body is clicked. This works correctly when all content is copied into a local web page and is correct according to the documentation found here. However, on JSFiddle nothing happens.

Is is possible to make example code on JSFiddle go full screen?

Please note that I do not mean viewing the result as full screen, but getting the javascript full screen commands working.


Source: (StackOverflow)

Finding the older version of a JSFiddle by entering new version like 200

I have created a JSFiddle and its latest version is 201. I had made some problems in the 200 version and without rectifying the problem I pressed the update button, so the the new version is now 201. Now, when I wanted to get the 200 version, it’s showing

Error 404
We're truly sorry, but there is no such page

If the 201 version is there, then the 200 version is obviously present. How do I get to the 200 version?

Note: I have gone through this See previous and subsequent versions of a jsfiddle page but it did not solve my problem.


Source: (StackOverflow)

How do I add Frameworks and Extensions to the new JSFiddle?

So it looks like JSFiddle's design has been updated. while i normally don't care in the old version there was a drop down under Frameworks and Extensions allowing you to select what external libraries you wanted such as one of many versions of Jquery. in this new version of the site this seems to have been removed.

looking at the docs page it appears to be explaining the old version so the Frameworks and Extensions is no longer valid

Now i am wondering how does one add Frameworks and Extensions to a JSFiddle now that the entire section is gone?


Source: (StackOverflow)

Can you edit a JSFiddle without changing its URL

I have some code at JSFiddle. The URL is something like:

http://jsfiddle.net/<username>/<uniquecode>/4/

I have shared the URL, but afterwords, I found some "typo's" that I need to correct.

My understanding is that if I edit the JSFiddle, I have to save it (update) for the changes I made to be saved, but If I use "update", the JSFiddle will be given a new URL like:

http://jsfiddle.net/<username>/<uniquecode>/5/

Can I edit a JSFiddle without changing its URL?

Is there a better way to do this so that I can share a JSFiddle and still be able to edit what people see at the URL I shared?


Source: (StackOverflow)

jsFiddle.net sudden problems: 'getCode is not a function'

Is anyone else having problems with jsFiddle.net ?

When clicking button "run" nothing happens, firefox error log says: this.editor.getCode is not a function.
On "jsHint" (what's up with that, wasn't that jsLint last week and before?) I get: Layout.editors.js.editor.getCode is not a function.
Save button, same story.
Opening my saved projects gives (preview) output, but no visible html/css/javascript code.

Also, in html edit-field, closing-tags suddenly red (but not the < character)?
Documentation of js-fiddle also gives no clue.
Last saturday/sunday everything was still working 'normally'.

Does anyone know more? (their latest blog-entry is from 29 june 2012 and their irc chat #jsfiddle on freenode is completely silent for the last four hours)

I did however (on the twitter-feed placed on their blog) see other some others with sudden problems in the last 12 hours.


Source: (StackOverflow)

Moving Fiddle from Dashboard to Public

So, I feel a bit silly asking this, but I can't find anything in the docs. I have one fiddle under my Public Fiddles, and several under Dashboard.

How do I move a fiddle from Dashboard to Public Fiddles?


Source: (StackOverflow)