add help text and link to dict.cc

This commit is contained in:
Inhji 2022-11-12 12:40:31 +01:00
parent 28d15f9269
commit c337503efd
1 changed files with 1 additions and 1 deletions

View File

@ -17,9 +17,9 @@ const randomIndex = getRandomInt(0, all.length - 1)
const randomWord = all[randomIndex]
document.querySelector('#app').innerHTML = `
<h1>What does '<a href='https://dict.cc/${randomWord}'>${randomWord}</a>' mean?</h1>
<h2>And does this word even exist? 🤔</h2>
<p>(Click on the link to check the meaning on <a href="https://dict.cc">dict.cc</a>)</p>
<p>This word comes from a collection of ${data.verbs.length*data.prefixes.length} verbs made from only ${data.verbs.length} verbs and ${data.prefixes.length} prefixes. See how lazy germans are?</p>
`