Is there a download function in jsFiddle?

前端 未结 16 2710
小鲜肉
小鲜肉 2020-12-02 03:37

Is there a download function in jsFiddle, so you can download an HTML with the CSS, HTML and JS in one file, so you can run it without jsFiddle for debug purposes?

16条回答
  •  不思量自难忘°
    2020-12-02 04:28

    New answer to an old question:

    Method 1:

    Step 1: You have to put /show after the URL you are working on:

    http://jsfiddle.net//show/ 
    

    It shows the output with a result header.

    Step 2: Right click the bottom frame and select View Frame Source. That's it. You got the html code with online JS links, CSS.

    Just Save it.

    For Example: http://jsfiddle.net/YRafQ/20/show/ for the site http://jsfiddle.net/YRafQ/20/

    Note: View Frame Source and not View Page Source

    Method 2:

    You can use this code: view-source:http://fiddle.jshell.net//show/light/

    For Example: For my fiddle_id: YRafQ/20

    view-source:http://fiddle.jshell.net/YRafQ/20/show/light/
    

提交回复
热议问题