Skip to content

Stanford-Online/js-input-samples

Repository files navigation

JS Input Examples

This repository originally comes from Stanford University, and is now maintained by Harvard. It holds problem types for edX, for use as Custom JavaScript Display and Grading problems.

Projects

  • "Accessible Matching": A standard matching-type problem as seen in a myriad of classroom quizzes. Designed to be usable on screen readers as well as by sighted users.
  • "Card Sorting": A card-sorting exercise. Used to in cognitive science to measure expertise in a particular field.
  • "Celluar Automata": Full-featured JS Input project demonstrating a cellular automata problem.
  • "Drop File": A bare-bones problem that uses Javascript to check a file and see whether it's an image or text. Constructed as an example of how someone might create a file-processing problem.
  • "Journaling" - Rich text editor that saves to the Learner Backpack (below) and gives credit for entering text. Uses HX-JS.
  • "Learner Backpack": Creates storage for student-associated data in edX. Meant to be used with HX-JS, but adaptable for other purposes.
  • "Mirror": Simple 'Hello World' project that works well as a barebones starter.
  • "Mufi Text Editor": Simple, lightweight rich text editor. Grades on participation.
  • "Piano": More complicated project that demonstrates more advanced use of JS Input
  • "Qualtrics Grader": Allows grading of Qualtrics surveys based on percent completion.
  • "Range Guesser": Allows students to guess at a number (or time) by setting a range. Closer guess = more credit.
  • "Text Logging Problem": Gives students credit for entering free-response text, and logs it.
  • "Variable Passing": How to get numbers or text generated by the problem's Python code into your internal Javascript. Also, how to log your results in the official edX logs.
  • "Video Watch Credit": Gives students credit for watching a video, or for just having it play while they go make a sandwich.

Deprecated Projects

  • "Matching": A standard matching-type problem as seen in a myriad of classroom quizzes. Replaced by the Accessible Matching problem.
  • "Adaptive MC": Creates a set of resources where the path depends on a student's answers to MC questions. Still under construction.

About

JS Input samples for using with edX platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published