Keeping the performance in mind while selecting the elements manually
Here is the final code from the previous lesson:
const accountForm = document.querySelector(".account-form");
accountForm.addEventListener("submit", function (event) {
// Prevents the default form submission behavior
event.preventDefault();
//Select all the fields individually so that you can access their values
const fullNameField = document.querySelector("#full-name"