Tabs:
Visual:
Embed snippetPrefer iframe?:
No autoresizing to fit the code
Render blocking of the parent page
No autoresizing to fit the code
Render blocking of the parent page
Adding External Resources will no longer create a list of resources in the sidebar but will be injected as aLINK orSCRIPT tag inside of the HTML panel.
The Code Completion will now also have the context of all panels before suggesting code to you - so if for example you have some CSS or JS, the HTML panel will suggest code based on the other two panels.
Introducing some AI sprinkle in the editor - Code Completion based on theCodestral model (byMistral).
For now it's a BYOK implmentation which means you need to provide your own API Key − youcan get it for free.
After much deliberation I've decided to make the switch fromCodeMirror to Monaco.
There's a few reasons for this. CodeMirror 5 is no longer being developed, and the switch to 6 would be a huge rewrite since there's not much compatibility between the two versions.
Monaco itself has lots of features already built-in, things that took quite a few external plugins to get into the CodeMirror implementation.
I'm incredibly thankful to Marijn for his work on CodeMirror, it has served well for many years.
Technical debt is a drag man. Remember the time whenMooTools was state-of-art JS framework? We do and so much of JSFiddle was still dependant on it till this day, but since almost all MooTools features are now available in native JS it was high-time to strip it out of the codebase.
This took around a week of work, lots of testing, but it's now done. And the final package of our JS bundle is~30% smaller.
Add expiration date to your fiddle (time button next toSave), it can be: 1 day, 10 days, 1 month, 6 months, 1 year, and you can keep the fiddle forever. Right now the default isKeep forever but this will probably change.
We've added the ability to download a specific fiddle version from the Editor's interface. I'll be downloaded as a Zipped single HTML file.
Saving a fiddle, even when you're logged out, will put it under theYour recent fiddles modal in the sidebar. They will eventually disappear (since they're anonymous), but now you'll have time to save them under your user after logging in.
AddedTailwind CSS to the list of precompilers - even though it's really HTML, you can activate it from the dropdown in the CSS panel. Tailwind CSS would be best used withHTML Hot-reload enabled.
We've replaced the dated code linter and formatted with more modern ones: Stylelint and Prettier.
The 3.0 updates brings a lot of changes, most notably a modern UI refresh.
There was an increadible amount of under-the-hood changes for the front-end, we've mostly moved away from pre-processors. The light/dark themes are using a modernlight-dark()
approach. The refactoring allows for more changes to be made in a spedier manner.
In the new sidebar you can find our mini-apps (right now the Color Palette Generator)
System theme follows your OS settings
CSS Hot-reload - styles update immidietly as you type
HTML Hot-reload (experimental) - update HTML immidietly as you type
Results panel color follows the selected theme
Title and description are now a single field
Public Profile page is completelty redesigned and can be easily used as your code showcase
Groups are now Collections and we have big plans for them
Collections are completely redesigned
Users can now add groups straight from the editor
Import fiddle code into other fiddles with Modules and Imports.
JS Modules:import [name] from '@jsfiddle/[username]/[fiddle].js'
CSS Import:@import url('@jsfiddle/[username]/[fiddle].css')
See how this worksin this fiddle.
The fiddle listings (Public, Private, Titled, etc) will now display latest versions instead of the ones saved as Base versions - this was causing more confusion than good, so we decided to change this long-standing behavior.
Custom Console beta is getting more stable and feature-rich. Just added the ability to evaluate code in the console.
Sign up for aMistral account, and pick thefree Experiment subscription plan.
Log in, and go to your organization'sAPI Keys section.
ClickCreate new key, fill "JSFiddle" as the name for the API key, and save.
Copy the key, and paste it into JSFiddle − under theAI Code Completion in the Sidebar.
Done! AI Code Completion should now be working.
Help keep JSFiddle free for always by one of two ways:
All ads in the editor and listing pages are turned completely off.
You get to try and use features (like the Palette Color Generator) months before everyone else.
Sort and categorize your Fiddles into multiple collections.
You can make as many Private Fiddles, and Private Collections as you wish!
Debug your Fiddle with a minimal built-in JavaScript console.
Try the AI features we're rolling out.
All ads in the editor and listing pages are turned completely off.
You get to try and use features (like the Palette Color Generator) months before everyone else.
Sort and categorize your Fiddles into multiple collections.
You can make as many Private Fiddles, and Private Collections as you wish!
Debug your Fiddle with a minimal built-in JavaScript console.
JSFiddle is used by you and 4+ million other developers, in many companies ...
... and top educational institutions: