document.getElementById('message').innerText = msg; let subBtn = document.getElementById('submit'); let inpBox = document.getElementById('response'); let helpMsg = document.getElementById('help');

inpBox.addEventListener('focus', e => { helpMsg.style = 'display:none'});

subBtn.addEventListener('click', e => { e.preventDefault(); if(msg.localeCompare(inpBox.value) === 0){ window.location = redirect; }else{ helpMsg.style = 'display:block; color: red'; } });

let msg = 'working'; let redirect = 'https://seansupplee.com';

document.getElementById('message').innerText = msg; let subBtn = document.getElementById('submit'); let inpBox = document.getElementById('response'); let helpMsg = document.getElementById('help');

inpBox.addEventListener('focus', e => { helpMsg.style = 'display:none'});

subBtn.addEventListener('click', e => { e.preventDefault(); if(msg.localeCompare(inpBox.value) === 0){ window.location = redirect; }else{ helpMsg.style = 'display:block; color: red'; } });