Skip to content

h5p/h5p-advanced-blanks

This branch is 67 commits ahead of, 27 commits behind sr258/h5p-advanced-blanks:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 22, 2025
aa929bc · Jan 22, 2025
Dec 20, 2024
May 3, 2022
May 3, 2023
Feb 24, 2022
May 3, 2023
Aug 23, 2017
Apr 12, 2021
Aug 5, 2017
Aug 5, 2017
Sep 8, 2019
May 3, 2023
Sep 8, 2018
Feb 15, 2022
Jan 22, 2025
Jan 22, 2025
Aug 30, 2024
Sep 1, 2017
Apr 11, 2022
Aug 9, 2017
Sep 1, 2017
Apr 7, 2021
Feb 23, 2024

Repository files navigation

H5P Advanced Blanks

This is an advanced 'Fill the blanks' content type for h5p. In addition to most of the features of the regular 'Fill the blanks' content type it supports:

  • The content creator can specify a feedback text message that should be displayed to the users when they enter a certain incorrect answer.
  • The content creator can specify parts of the text that should be highlighted when the users enter a certain incorrect answer. ("signal words")
  • The content creator can use text snippets to avoid retyping the same feedback message over and over.
  • User are given more detailed feedback when they make spelling mistake.

It's main use is for foreign language learning, where you can give the users individual hints, why certain tenses or word forms can't be used in this case. While it is possible to have a 'Check' button at the end, it makes more sense to use the auto-check setting as the user is guided through the 'fill the blanks' exercise blank by blank.

Architecture

This content type uses parts of h5p-blanks but is not based on it, as it was ported over from a widget written by the author for LearningApps.org. It uses a MVC style architecture with Ractive as the library responsible for creating the views. It is written in TypeScript.

Getting started

Grab all the modules:

npm install

Build project with debug info:

npm run build

Build project in production mode:

npm run build:prod

Copy all relevant files to dist directory

npm run dist

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 84.5%
  • CSS 8.7%
  • HTML 3.9%
  • JavaScript 2.9%