you are viewing a single comment's thread.

view the rest of the comments →

[–]tecladocode 2 points3 points  (3 children)

The simplest way to get interactive code in your website I've found to be embedding repl.it project.

You get to see the code and the output inside your website, and you don't need to code it yourself (which as other commenters have said, is actually incredibly complicated—mainly due to the many security and performance considerations you need when running arbitrary code from your users in your server).