this.form = document.getElementById('quiz');
this.cards = Object.entries(pairs).flat()
.map(e => e.toString())
- .sort(() => {return .5 - Math.random()}) // shuffle
+ .shuffle()
this.cards.forEach(word => {
put(this.form,
'figure>img[src=$]<', `/data/word/en/${word}.jpg`,