let yogajourney = () => { let accesscode = 'welcome123'; let alerts = []; for (let i = 0; i < preintroductorysessions.length; i++) { if (sessions[i].level === 'beginner' && !elude) { alerts.push(ready to take up from scratch? your access code for the journey is ${accesscode}. dive into the world of yoga with enthusiasm and joy!); } } };