add help text and link to dict.cc
This commit is contained in:
parent
28d15f9269
commit
c337503efd
2
main.js
2
main.js
|
@ -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>
|
||||
`
|
||||
|
|
Loading…
Reference in New Issue