My learning Mock interview

Loading your interview room…

Sign in to start your interview

The mock interview with Lilly is part of the Advanced Pros plan. Sign in, or start a free trial to look around the portal.

`; download(`mock-interview-${who.replace(/\W+/g,'-').toLowerCase()}.html`, URL.createObjectURL(new Blob([html], {type:'text/html'}))); }); $('btnAgain').addEventListener('click', () => { $('scrReport').hidden = true; $('scrSetup').hidden = false; $('playback').hidden = true; $('btnDlVideo').hidden = true; $('scoreRing').style.transition = 'none'; $('scoreRing').style.strokeDashoffset = 414.7; S.videoUrl = null; setLive('Mock interview',''); window.scrollTo(0,0); if(S.stream) $('prevVid').srcObject = S.stream; }); function leaveTo(e){ const inRoom = !$('scrRoom').hidden, onReport = !$('scrReport').hidden; const msg = inRoom ? 'Leave the interview now? Your answers so far will not be saved.' : (onReport && S.videoUrl) ? 'Leave now? Your video is not saved unless you download it first.' : ''; if(msg && !confirm(msg)){ e.preventDefault(); return; } if(inRoom){ S.aborted = true; clearInterval(S.tInt); try{ stopRec(); }catch(_){} S.audioEl?.pause(); } window.speechSynthesis?.cancel(); S.stream?.getTracks().forEach(t => t.stop()); } $('btnBack').addEventListener('click', leaveTo); $('btnHome').addEventListener('click', leaveTo); document.querySelector('.top .logo')?.addEventListener('click', leaveTo); window.addEventListener('beforeunload', () => { S.stream?.getTracks().forEach(t => t.stop()); window.speechSynthesis?.cancel(); }); })();