To make the video appear after the form submission, hide the video initially with videoSection.style.display = "none". Then, attach a submit event listener to the form to show the video only once the form is successfully submitted.