Opening the Modal

In this lesson, we'll learn how to open the modal after the contact form is submitted.

Currently, the modal is, by default, opened when we visit the contact page. We’ll want to change this behavior by opening the modal when the form is submitted. We’ll also need a way to close the modal besides navigating to a different page.

We’ll start by opening the modal. It’s going to be rather simple to ...