Is there a download function in jsFiddle?

前端 未结 16 2709
小鲜肉
小鲜肉 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:33

    Step 1:
    Go to a fiddle page like jsfiddle.net/oskar/v5893p61

    Step 2:
    Add '/show' at the end of the URL, like jsfiddle.net/oskar/v5893p61/show

    Step 3:
    Right click on the page and click on the View frame source. You will get the HTML code including CSS in tag and Javascript (js) in tag. [Also source link of all library will be added]. See screenshot

    Step 4:
    Now you can save the source code in a .html file.

提交回复
热议问题