How to get console inside jsfiddle

后端 未结 9 895
情深已故
情深已故 2020-12-04 09:37

How can I get the console to show in a fiddle on JSfiddle.com?

I recently saw a fiddle that had the console embedded in the fiddle, anyone know how this can be done?

9条回答
  •  抹茶落季
    2020-12-04 10:05

    For future reference: the jsfiddle-console from answer was exactly what I needed when teaching a class on JavaScript. However I found it to be too limited to be of any actual use in this situation. So I made my own.

    Maybe it will serve anyone here.

    Just add the CDN-version to the resources of jsFiddle:

    https://unpkg.com/html-console-output
    

    Example here: https://jsfiddle.net/Brutac/e5nsp2mu/

    GitHub: https://github.com/karimayachi/html-console-output

提交回复
热议问题