Puzzle Text
const field = document.querySelector(‘#solution’); const link = document.querySelector(‘#link’); document.querySelector(‘#mybutton’).addEventListener(‘click’, (event) => { link.style.display = (field.value.toLowerCase() === ‘answer’) ? ‘block’ : ‘none’; }); #link { display: none; } .a-as-button { display: block; width: 115px; height: 25px; background: #4E9CAF; padding: 10px; text-align: center; border-radius: 5px; color: white; font-weight: bold; } Solution: Enter Next Step