That second option worked beautifully.
Out of curiosity I wondered if I can do this for the inactive clozes as well. I tried:
<script>
// get all clozes
var element = document.getElementsByClassName("cloze");
// hide them
for (var i = 0; i < element.length; i++) {
element[i].innerHTML = "";
}
element = document.getElementsByClassName("cloze-inactive");
for (var i = 0; i < element.length; i++) {
element[i].innerHTML = "";
</script>
But it doesn’t seem to work the same way.
For some context I’m trying to memorize different parts of this definition but i only want to reveal certain information when I test a particular cloze
vestragon(consonant-final, perfect participle vestreta)
- to say somthing (accusative) to someone (dative)
- to tell someone (dative) something (accusative)
- to speak
- (with impersonal subject and subjunctive) to seem,
Hae hunē kirine Zaldrīzdōrot īlō vestretas.- seems to someone (dative)
Zāliapossa buqō ynot vestras.
Also some times simply knowing that there is more information gives away the answer for me