An H5P content type where students arrange words into the correct order by drag and drop.
- Simple text input for authors: enter words separated by spaces, use
*asterisks*to group multi-word blocks (e.g.elas metsas *kes oli must* ja inetu) - Drag-and-drop reordering with touch/mobile support
- Fisher-Yates shuffle that guarantees a different starting order
- Check Answer, Retry, and Show Solution buttons (configurable)
- Per-word feedback showing correct/incorrect positions
- xAPI scoring with
getScore()andgetMaxScore() - State persistence via
getCurrentState()— students can resume where they left off - Translatable UI strings via l10n group in semantics
- Download the
.h5pfile from Releases - Upload it to your H5P-enabled platform (Moodle, WordPress, Drupal, etc.)
- Create a new activity and select "Word Order"
Enter words in the correct order, separated by spaces:
The cat sat on the mat
To make multiple words into one draggable block, wrap them with asterisks:
elas metsas *kes oli must* ja inetu
This creates 5 draggable parts: elas, metsas, kes oli must, ja, inetu.
- Words appear in random order
- Drag words to rearrange them
- Click "Check Answer" to see which are correct
- Use "Retry" to try again or "Show Solution" to see the answer
- H5P Core API >= 1.19
- jQuery.ui 1.10 (bundled with H5P, provides sortable + touch support)
Priit Tammets