Reveal`);}else{console.log("Switching to display mode");$('#revealed').val('yes');$('.practice-mode').fadeOut(300, function(){$('.display-mode').fadeIn(300, function(){$('.display-mode span').removeClass('blur20');$('.reveal-verse').fadeIn(300);isTransitioning = false;setTimeout(function(){justClicked = false;}, 100);});});$button.html(`Type the Verse`);$('.memorize-voice').fadeIn(300);}});$('.memorize-voice').click(function(event) {event.stopPropagation();const $button=$(this);medium = 'voice';$('.memorize-type').fadeOut(300);if($.trim($button.text()).toLowerCase().includes('recite')){$button.html(`Stop`);startRecording();}else{$button.html(`Recite the Verse`);stopRecording();$('.memorize-type').fadeIn(300);}});$(document).on('click', '.retry-button',function(){$('.memorize-type').fadeIn(300);});function stopMediaTracks(stream) { stream.getTracks().forEach(track => track.stop());}function simulateRecording(){$('.display-mode').html(`
`); const formData = new FormData(); formData.append('combined_scripture', combined_scripture); formData.append('user_id', user_id); formData.append('main_verse_id', main_verse_id); formData.append('group_id', group_id); formData.append('group_type_id', group_type_id);$.ajax({url: baseUrl + 'process/practice/recording.php', method: 'POST',data: formData, contentType: false, processData: false, timeout: 120000,success: function(response) {console.log('Raw response:', response);console.log('Response type:',typeof response);try {const data = typeof response === 'string' ? JSON.parse(response) : response;console.log('Parsed data:',data);if(data.error) {console.log('Error data:',data);displayError({type: data.errorType || 'UNKNOWN',details: data.message,response: data});}else{displayHTMLOutput(data);}} catch (error) {console.error('Error processing response:', error);retryProcessing(null, 1);}}, error:function(xhr, status, error) { console.error('AJAX error:', {status, error, responseText: xhr.responseText}); retryProcessing(null, 1);}});}function startRecording() { audioChunks=[]; recordingDuration = 0;$('.display-mode').html(`Customize your memorization experience
Choose how many letters you want to see while practicing
Choose whether to type or speak your memorized verses
Choose what you want to memorize
Choose how you want to type your answers
Study verses as flashcards with one side showing before the other
Customize your practice experience
Our platform helps you hide Scripture in your heart through proven memorization methods and a supportive community of believers.
Memory Verses