Hacker News new | ask | show | jobs
by tuukkah 1301 days ago
From your blog:

> If you teach a different language besides Python, it may be possible for you to get it working if there's a way to run that language in the browser.

JavaScript comes to mind as an obvious choice. In my experience, something like this would be priceless when teaching!

1 comments

I think you should be able to use OP's site or the js-parsons library to make JS puzzles, if you're okay with "line-based feedback". To use Faded Parsons with JavaScript and test-based feedback, you'd need to decide the format of the tests, since JS doesn't have a built-in doctest module like Python. Once you did that, it should be straightforward enough to use it for JavaScript. Happy to help if you end up branching off my repo.