{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/f3e44452c6d24a67bd9d5d7d65396901\" frameborder=\"0\" width=\"1152\" height=\"864\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":864,"width":1152,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":864,"thumbnail_width":1152,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/f3e44452c6d24a67bd9d5d7d65396901-899cfb493e00affc.gif","duration":289.316,"title":"Mission 4 Login, Signup, and Dashboard","description":"This Loom explains how the developer built a Mission 4 web app with a login and main dashboard flow. It uses DOM manipulation to initially hide the main dashboard and show it only after successful login via username and password checks, while switching between login and sign up and toggling the confirm password container. The sign up function validates empty fields and ensures password and confirm password match before storing credentials in a users array. Inside the dashboard, it fetches current activities from an API, handles errors like missing fields by displaying that the activity is unavailable, and saves activities while alerting if an activity is already saved."}