parsons icon indicating copy to clipboard operation
parsons copied to clipboard

Make a parson's problem question for learnr

Open schloerke opened this issue 6 years ago • 4 comments

Other concepts:

  • https://js-parsons.github.io/
  • https://interactivepython.org/runestone/static/sigcse2017/Directives/mixedUp.html

This could involve nest levels as well as rearranging.

schloerke avatar Jun 12 '19 19:06 schloerke

Agreed, I want this for "bucketing" problems too.

andrie avatar Jun 17 '19 11:06 andrie

https://jsfiddle.net/trevordowdle/6CDSB/1/

Would also need to start a mouse listener on onAdd and kill listener on onEnd

schloerke avatar Jun 19 '19 16:06 schloerke

Most of the functionality now works, except that on submission I always get an error:

Error: subscript out of bounds

andrie avatar Jun 26 '19 08:06 andrie

This has been fixed with a PR on learnr at https://github.com/rstudio/learnr/pull/244.

andrie avatar Jun 28 '19 10:06 andrie