JSFiddle - React, Tailwind, and code Playground
HTML
<button class="enter-the-code">Search</button>
JavaScript
document.querySelector('.enter-the-code').onclick = () => {
let code = prompt('Enter a code (case sensitive)', '')
switch (code) {
case 'FND_28GFV5OD3Y':
case 'FND_86YA5HMM28':
case 'FND_904N5RFFKD':
case 'FND_IQ84AI43CJ':
alert('SИCCESS'); break
default:
alert('WЯOИG!')
}
}