Simple Three Steps with Boxes Exit Ticket Template (2024)

`; this._targetInput.insertAdjacentHTML('afterend', dHtm); this._targetInput.nextElementSibling.insertAdjacentElement('beforeend', this._targetInput); } this._newVoiceId = `v_searchByVoice_${this._instanceIndex}`; this._voiceTextElmId = `v_voiceTxtEl_${this._instanceIndex}`; var newVoice = document.getElementById(this._newVoiceId); if ((this._targetInput || this._targetInputList) && !newVoice) { let sHtm = ` `; if (!this._textableInstance) { this._targetInput.insertAdjacentHTML('afterend', sHtm); this._targetInput.parentElement.classList.add('v_hasVoiceSearch'); } else { if (this._targetSelectionElm.parentElement === null) { var summernoteToolBar = document.getElementById('summernote-disconnected-toolbar'); if (summernoteToolBar) { var rowTwo = summernoteToolBar.getElementsByClassName('note-row2')[0]; this._targetSelectionElm = rowTwo; } } if (this._targetSelectionElm) { this._targetSelectionElm.insertAdjacentHTML('beforeend', sHtm); this._targetSelectionElm.classList.add('v_hasVoiceSearch'); } else { return true; } } } return false; }; SpeechToTextHelper.prototype.SetupRecognition = function () { let finalTranscript = ''; let voiceTutElm = document.getElementById(this._voiceTextElmId); let selectedInstanceIndex = this._instanceIndex; this._recState.recognition = new this._speechRecognition(); this._recState.recognition.continuous = false; //this._recState.recognition.lang = 'en-US'; this._recState.recognition.interimResults = true; if ((this._targetInput || this._targetInputList) && voiceTutElm) { this._recState.recognition.onresult = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; let interimTranscript = ""; for (let i = e.resultIndex; i < e.results.length; i += 1) { const { transcript } = e.results[i][0]; if (e.results[i].isFinal) { finalTranscript += transcript; } else { interimTranscript += transcript; } } thisPointer._recState.finalSpeechVal = `${finalTranscript} ${interimTranscript}`.trim(); if (!thisPointer._textableInstance) { thisPointer._targetInput.value = thisPointer._recState.finalSpeechVal; } else { if (thisPointer._targetInputList.length === 0) { var shapeId = thisPointer._targetElmTracking.split('_textarea')[0]; var textArea = document.getElementById(shapeId).getElementsByClassName("note-editable")[0].firstElementChild; var shape = document.getElementById(shapeId); if (textArea) { textArea.classList.add(thisPointer._targetElmTracking); thisPointer._targetInputList = shape.getElementsByClassName(thisPointer._targetElmTracking); console.log('Speech to text self heal'); } else { Logger.logErrorMessage("SpeechToText.OnResults", new Error('No target input list')); console.log('Text to speech error'); } } for (var i = 0; i < thisPointer._targetInputList.length; i++) { thisPointer._targetInputList[i].innerText = thisPointer._recState.finalSpeechVal; } } voiceTutElm.innerText = thisPointer._recState.finalSpeechVal; }; this._recState.recognition.onspeechstart = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.finalSpeechVal = ''; finalTranscript = ''; }; this._recState.recognition.onspeechend = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.recognition.stop(); }; this._recState.recognition.onend = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; var voiceTutElm = document.getElementById(thisPointer._voiceTextElmId); if (thisPointer._recState.finalSpeechVal.length >= 2) { if (!thisPointer._textableInstance) { if (thisPointer._targetInput.nodeName.toLowerCase() !== 'input') { thisPointer._targetInput.innerText = thisPointer._recState.finalSpeechVal; } else { thisPointer._targetInput.value = thisPointer._recState.finalSpeechVal; } thisPointer._targetInput.dispatchEvent(new Event('change')); } else { for (var i = 0; i < thisPointer._targetInputList.length; i++) { var inputElm = thisPointer._targetInputList[i]; if (inputElm.nodeName.toLowerCase() !== 'input') { var selectedFontElm = document.getElementsByClassName('note-current-fontname')[0]; var selectedFontSize = document.getElementsByClassName('note-current-fontsize')[0]; inputElm.innerText = thisPointer._recState.finalSpeechVal; if (selectedFontElm) { inputElm.style.fontFamily = selectedFontElm.style.fontFamily; } if (selectedFontSize) { inputElm.style.fontSize = `${selectedFontSize.innerText}px`; } } else { inputElm.value = thisPointer._recState.finalSpeechVal; } inputElm.dispatchEvent(new Event('change')); } } if (thisPointer._targetActionElm) { thisPointer._targetActionElm.click(); } document.body.classList.remove('v_listening'); } if (!thisPointer._recState.finalSpeechVal.length) { voiceTutElm.innerText = thisPointer._recState.noSpeech; thisPointer._listeningTimeout = setTimeout(function () { document.body.classList.remove('v_listening'); }, 1500); } }; this._recState.recognition.onerror = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.recognition.stop(); console.error('Speech recognition error:', e.error); if (e.error.includes('not-allowed')) { document.body.classList.add('v_speechNotAllowed'); } throw e.error; }; } }; SpeechToTextHelper.prototype.ShowTutorialToolTip = function () { var elm = document.getElementById(`v_voiceInstructionsTip_${this._instanceIndex}`); elm.style.display = 'flex'; }; SpeechToTextHelper.prototype.HideTutorialToolTip = function () { var elm = document.getElementById(`v_voiceInstructionsTip_${this._instanceIndex}`); if (elm) { elm.style.display = 'none'; sessionStorage.setItem(`v_isVoiceTutorialViewed_${this._instanceIndex}`, 'true'); } } SpeechToTextHelper.prototype.AddEventListeners = function () { let selectedInstanceIndex = this._instanceIndex; var speechButton = document.getElementById(this._newVoiceId); this._targetSelectionElm.addEventListener('mouseover', function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.CheckForTutorial(); }); speechButton.addEventListener('click', function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; if (thisPointer._listeningTimeout) { clearTimeout(thisPointer._listeningTimeout); } thisPointer._recState.finalSpeechVal = ''; let tutorialTxt = document.getElementById(thisPointer._voiceTextElmId); let tutorialInput = thisPointer._targetInput; thisPointer.HideTutorialToolTip(); if (thisPointer._recState.recognition != null && !document.body.classList.contains('v_listening')) { document.body.classList.add('v_listening'); if (tutorialTxt) { tutorialTxt.innerText = thisPointer._recState.listening; } if (tutorialInput) { if (tutorialInput.nodeName.toLowerCase() === 'input') { tutorialInput.setAttribute('placeholder', thisPointer._recState.listening); } else { tutorialInput.innerText = thisPointer._recState.listening; } } thisPointer._recState.recognition.start(); } else { document.body.classList.remove('v_listening'); thisPointer._recState.recognition.stop(); } }); var toolTipCloser = document.getElementById(`v_toolTipCloser_${selectedInstanceIndex}`); toolTipCloser.addEventListener('click', function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.HideTutorialToolTip(); }); }; SpeechToTextHelper.prototype.CheckForTutorial = function () { let selectedInstanceIndex = this._instanceIndex; let isTutorialViewed = sessionStorage.getItem(`v_isVoiceTutorialViewed_${this._instanceIndex}`); if (isTutorialViewed == null || isTutorialViewed === 'false') { this.ShowTutorialToolTip(); setTimeout(function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.HideTutorialToolTip(); }, 5000); } };
`; this._targetInput.insertAdjacentHTML('afterend', dHtm); this._targetInput.nextElementSibling.insertAdjacentElement('beforeend', this._targetInput); } this._newVoiceId = `v_searchByVoice_${this._instanceIndex}`; this._voiceTextElmId = `v_voiceTxtEl_${this._instanceIndex}`; var newVoice = document.getElementById(this._newVoiceId); if ((this._targetInput || this._targetInputList) && !newVoice) { let sHtm = ` `; if (!this._textableInstance) { this._targetInput.insertAdjacentHTML('afterend', sHtm); this._targetInput.parentElement.classList.add('v_hasVoiceSearch'); } else { if (this._targetSelectionElm.parentElement === null) { var summernoteToolBar = document.getElementById('summernote-disconnected-toolbar'); if (summernoteToolBar) { var rowTwo = summernoteToolBar.getElementsByClassName('note-row2')[0]; this._targetSelectionElm = rowTwo; } } if (this._targetSelectionElm) { this._targetSelectionElm.insertAdjacentHTML('beforeend', sHtm); this._targetSelectionElm.classList.add('v_hasVoiceSearch'); } else { return true; } } } return false; }; SpeechToTextHelper.prototype.SetupRecognition = function () { let finalTranscript = ''; let voiceTutElm = document.getElementById(this._voiceTextElmId); let selectedInstanceIndex = this._instanceIndex; this._recState.recognition = new this._speechRecognition(); this._recState.recognition.continuous = false; //this._recState.recognition.lang = 'en-US'; this._recState.recognition.interimResults = true; if ((this._targetInput || this._targetInputList) && voiceTutElm) { this._recState.recognition.onresult = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; let interimTranscript = ""; for (let i = e.resultIndex; i < e.results.length; i += 1) { const { transcript } = e.results[i][0]; if (e.results[i].isFinal) { finalTranscript += transcript; } else { interimTranscript += transcript; } } thisPointer._recState.finalSpeechVal = `${finalTranscript} ${interimTranscript}`.trim(); if (!thisPointer._textableInstance) { thisPointer._targetInput.value = thisPointer._recState.finalSpeechVal; } else { if (thisPointer._targetInputList.length === 0) { var shapeId = thisPointer._targetElmTracking.split('_textarea')[0]; var textArea = document.getElementById(shapeId).getElementsByClassName("note-editable")[0].firstElementChild; var shape = document.getElementById(shapeId); if (textArea) { textArea.classList.add(thisPointer._targetElmTracking); thisPointer._targetInputList = shape.getElementsByClassName(thisPointer._targetElmTracking); console.log('Speech to text self heal'); } else { Logger.logErrorMessage("SpeechToText.OnResults", new Error('No target input list')); console.log('Text to speech error'); } } for (var i = 0; i < thisPointer._targetInputList.length; i++) { thisPointer._targetInputList[i].innerText = thisPointer._recState.finalSpeechVal; } } voiceTutElm.innerText = thisPointer._recState.finalSpeechVal; }; this._recState.recognition.onspeechstart = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.finalSpeechVal = ''; finalTranscript = ''; }; this._recState.recognition.onspeechend = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.recognition.stop(); }; this._recState.recognition.onend = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; var voiceTutElm = document.getElementById(thisPointer._voiceTextElmId); if (thisPointer._recState.finalSpeechVal.length >= 2) { if (!thisPointer._textableInstance) { if (thisPointer._targetInput.nodeName.toLowerCase() !== 'input') { thisPointer._targetInput.innerText = thisPointer._recState.finalSpeechVal; } else { thisPointer._targetInput.value = thisPointer._recState.finalSpeechVal; } thisPointer._targetInput.dispatchEvent(new Event('change')); } else { for (var i = 0; i < thisPointer._targetInputList.length; i++) { var inputElm = thisPointer._targetInputList[i]; if (inputElm.nodeName.toLowerCase() !== 'input') { var selectedFontElm = document.getElementsByClassName('note-current-fontname')[0]; var selectedFontSize = document.getElementsByClassName('note-current-fontsize')[0]; inputElm.innerText = thisPointer._recState.finalSpeechVal; if (selectedFontElm) { inputElm.style.fontFamily = selectedFontElm.style.fontFamily; } if (selectedFontSize) { inputElm.style.fontSize = `${selectedFontSize.innerText}px`; } } else { inputElm.value = thisPointer._recState.finalSpeechVal; } inputElm.dispatchEvent(new Event('change')); } } if (thisPointer._targetActionElm) { thisPointer._targetActionElm.click(); } document.body.classList.remove('v_listening'); } if (!thisPointer._recState.finalSpeechVal.length) { voiceTutElm.innerText = thisPointer._recState.noSpeech; thisPointer._listeningTimeout = setTimeout(function () { document.body.classList.remove('v_listening'); }, 1500); } }; this._recState.recognition.onerror = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.recognition.stop(); console.error('Speech recognition error:', e.error); if (e.error.includes('not-allowed')) { document.body.classList.add('v_speechNotAllowed'); } throw e.error; }; } }; SpeechToTextHelper.prototype.ShowTutorialToolTip = function () { var elm = document.getElementById(`v_voiceInstructionsTip_${this._instanceIndex}`); elm.style.display = 'flex'; }; SpeechToTextHelper.prototype.HideTutorialToolTip = function () { var elm = document.getElementById(`v_voiceInstructionsTip_${this._instanceIndex}`); if (elm) { elm.style.display = 'none'; sessionStorage.setItem(`v_isVoiceTutorialViewed_${this._instanceIndex}`, 'true'); } } SpeechToTextHelper.prototype.AddEventListeners = function () { let selectedInstanceIndex = this._instanceIndex; var speechButton = document.getElementById(this._newVoiceId); this._targetSelectionElm.addEventListener('mouseover', function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.CheckForTutorial(); }); speechButton.addEventListener('click', function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; if (thisPointer._listeningTimeout) { clearTimeout(thisPointer._listeningTimeout); } thisPointer._recState.finalSpeechVal = ''; let tutorialTxt = document.getElementById(thisPointer._voiceTextElmId); let tutorialInput = thisPointer._targetInput; thisPointer.HideTutorialToolTip(); if (thisPointer._recState.recognition != null && !document.body.classList.contains('v_listening')) { document.body.classList.add('v_listening'); if (tutorialTxt) { tutorialTxt.innerText = thisPointer._recState.listening; } if (tutorialInput) { if (tutorialInput.nodeName.toLowerCase() === 'input') { tutorialInput.setAttribute('placeholder', thisPointer._recState.listening); } else { tutorialInput.innerText = thisPointer._recState.listening; } } thisPointer._recState.recognition.start(); } else { document.body.classList.remove('v_listening'); thisPointer._recState.recognition.stop(); } }); var toolTipCloser = document.getElementById(`v_toolTipCloser_${selectedInstanceIndex}`); toolTipCloser.addEventListener('click', function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.HideTutorialToolTip(); }); }; SpeechToTextHelper.prototype.CheckForTutorial = function () { let selectedInstanceIndex = this._instanceIndex; let isTutorialViewed = sessionStorage.getItem(`v_isVoiceTutorialViewed_${this._instanceIndex}`); if (isTutorialViewed == null || isTutorialViewed === 'false') { this.ShowTutorialToolTip(); setTimeout(function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.HideTutorialToolTip(); }, 5000); } };
  • My Storyboards
  • View Lesson Plan

    Copy this Storyboard

    Simple Three Steps with Boxes Exit Ticket Template (4)
    '; var rightArrowHTML = '

    Simple Three Steps with Boxes Exit Ticket Template (5)

    '; cellRow.className = 'row'; cellPreviewImages.className = 'col-12'; cellPreviewImages.style.order = '2'; cellPreviewImages.classList.add('verticalPreviewWidth'); largePreviewContainer.className = 'col-10'; largePreviewContainer.insertAdjacentHTML('beforebegin', leftArrowHTML); largePreviewContainer.insertAdjacentHTML('afterend', rightArrowHTML); for (let i = 0; i < sourceRectangles.length; i++) { var cellCol = document.createElement('div'); var cellRect = sourceRectangles[i]; cellCol.className = 'col'; cellCol.innerHTML = svgTemplateString.replace('#use#', sourceSvgText); cellCol.addEventListener('click', function () { SelectCellIndex(i); }); var templateSvg = cellCol.firstElementChild; var cellRectData = { x: cellRect.getAttribute('x'), y: cellRect.getAttribute('y'), width: cellRect.getAttribute('width'), height: cellRect.getAttribute('height') }; var viewBoxString = `${cellRectData.x} ${cellRectData.y} ${(parseFloat(cellRectData.width) + 3)} ${(parseFloat(cellRectData.height) + 2)}`; cellRectList.push(cellRectData); templateSvg.setAttribute('viewBox', viewBoxString); templateSvg.classList.add('svgPreviewImage'); templateSvg.classList.add('svgPreviewImageVertical'); templateSvg.id = `previewSvg_cell_${i}`; if (i === 0) { templateSvg.style.height = '99%'; } cellRow.appendChild(cellCol); cellPreviewImages.appendChild(cellRow); if (i === currentCellIndex) { var largePreviewSvg = document.getElementById('largePreviewSvg'); templateSvg.classList.add('active'); largePreviewSvg.setAttribute('viewBox', viewBoxString); } } var newViewStoryboardContainer = document.getElementById('newViewStoryboardContainer'); newViewStoryboardContainer.id = 'newViewStoryboardContainerVertical'; } function ConsolidateRectangles(rectangleList) { var cellRectangles = []; for (var i = 0; i < rectangleList.length; i++) { var rectangle = rectangleList[i]; if (rectangle.id.indexOf('cell_') !== -1) { var newRect = document.createElement('rect'); newRect.id = rectangle.id.split('_')[1]; newRect.setAttribute('x', rectangle.getAttribute('x')); newRect.setAttribute('y', rectangle.getAttribute('y')); newRect.setAttribute('width', rectangle.getAttribute('width')); newRect.setAttribute('height', rectangle.getAttribute('height')); cellRectangles.push(newRect); } } for (var i = 0; i < cellRectangles.length; i++) { var cellRect = cellRectangles[i]; var titleSearch = `title_${cellRect.id}_outer`; var descriptionSearch = `descr_${cellRect.id}_outer`; for (var j = 0; j < rectangleList.length; j++) { var rectangle = rectangleList[j]; if (rectangle.id.indexOf(titleSearch) !== -1) { var cellHeight = cellRect.getAttribute('height'); var rectHeight = rectangle.getAttribute('height'); var newHeight = parseFloat(cellHeight) + parseFloat(rectHeight); cellRect.setAttribute('y', rectangle.getAttribute('y')); cellRect.setAttribute('height', (newHeight + 20).toString()); } else if (rectangle.id.indexOf(descriptionSearch) !== -1) { var cellHeight = cellRect.getAttribute('height'); var rectHeight = rectangle.getAttribute('height'); var newHeight = parseFloat(cellHeight) + parseFloat(rectHeight); cellRect.setAttribute('height', (newHeight + 20).toString()); } } } return cellRectangles; } function MoveButtons() { var newButtonContainer = document.getElementsByClassName('v_copySBTCTAWrapper')[0]; var createStoryboardButton = document.getElementById('vs-under-image-new'); var newButton = document.createElement('a'); if (createStoryboardButton) { newButton.className = createStoryboardButton.className; newButton.href = createStoryboardButton.href; newButton.innerText = createStoryboardButton.innerText; newButton.style.width = '254px'; newButton.style.marginLeft = '20px'; newButtonContainer.insertAdjacentElement('beforeend', newButton); } } function SelectCellIndex(val) { currentCellIndex = val; var previewImages = document.getElementsByClassName('svgPreviewImage'); var largePreviewSvg = document.getElementById('largePreviewSvg'); for (var i = 0; i < cellRectList.length; i++) { if (i === currentCellIndex) { var cellRectData = cellRectList[i]; var viewBoxString = `${cellRectData.x} ${cellRectData.y} ${cellRectData.width} ${cellRectData.height}`; largePreviewSvg.setAttribute('viewBox', viewBoxString); previewImages[i].classList.add('active'); } else { previewImages[i].classList.remove('active'); } } if (!verticalLayoutSelected) { ResizePreviewUI(); } } function LeftArrowClick() { if (currentCellIndex > 0) { currentCellIndex--; } else { currentCellIndex = (cellRectList.length - 1); } SelectCellIndex(currentCellIndex); } function RightArrowClick() { if (currentCellIndex + 1 === cellRectList.length) { currentCellIndex = 0; } else { currentCellIndex++; } SelectCellIndex(currentCellIndex); }
    Simple Three Steps with Boxes Exit Ticket Template (6)

    Create your own Storyboard

    Try it for Free!

    Create your own Storyboard

    Try it for Free!

    You can find this storyboard in the following articles and resources:

    Simple Three Steps with Boxes Exit Ticket Template (7)

    Exit Ticket Templates

    Customize Exit Ticket Templates

    Create custom exit tickets for your classroom!

    Read More

    Simple Three Steps with Boxes Exit Ticket Template (8)

    Worksheet Template Gallery

    Customize Worksheet Templates

    View tons of templates for worksheets, flyers, handouts, decorations, task cards, and more!

    Read More

    Check out some of our other templates!


    Graphic Novel Layouts



    Exit Tickets



    Plot Diagram



    Create a Storyboard

    Storyboard Description

    Exit ticket worksheet template | Create exit tickets to keep track of what students are learning in class.

    Storyboard Text

    • Name:
    • 3, 2, 1 Exit Ticket
    • 2 things I found interesting:
    • 1 think I still have questions about
    • 3 things I learned today:
    • Date:

    Over 30 Million Storyboards Created

    Create My First Storyboard

    Simple Three Steps with Boxes Exit Ticket Template (2024)

    References

    Top Articles
    Latest Posts
    Article information

    Author: Manual Maggio

    Last Updated:

    Views: 6363

    Rating: 4.9 / 5 (69 voted)

    Reviews: 84% of readers found this page helpful

    Author information

    Name: Manual Maggio

    Birthday: 1998-01-20

    Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

    Phone: +577037762465

    Job: Product Hospitality Supervisor

    Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

    Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.