Phrase Jumble HTML Component
Simple HTML component <jumble-phrase>
which displays a jumbled-up
phrase. Attributes:
phrase
: The phrase to be jumbled.
category
: The phrase category.
Multiple states:
init: Phrase is shown fully jumbled with a Hint
button.
hinted: Phrase is still shown jumbled but word boundaries are
shown and category is also shown. Button shows Solve
.
solved: Phrase is shown unjumbled with category. No button.
CSS needs work.