<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/860e16df24a84523aa66f09e80114511&quot; frameborder=&quot;0&quot; width=&quot;1986&quot; height=&quot;1489&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1489</height><width>1986</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1489</thumbnail_height><thumbnail_width>1986</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/860e16df24a84523aa66f09e80114511-314fcf524cb6b4a2.gif</thumbnail_url><duration>1203.359</duration><title>Mission 2 Code Explanation and Improvements</title><description>This Loom explains how the presenter’s Mission 2 JavaScript renders a player squad and handles user input. The speaker describes waiting for the HTML to load with a document event listener, using arrays for the starter list, and functions that display player cards, create new HTML elements from a template when users add players, and update the squad count and styling via CSS classes. They also explain the form submit flow, including preventDefault to stop page reload, validation to alert when required fields are blank, and resetting the form after submission. The speaker concludes with their main challenge learning what code to write and forgetting it over time, and notes they use lessons and AI to help understand code they write.</description></oembed>