Skip to content

Commit

Permalink
Break the app on purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
wlsf82 committed Jun 24, 2024
1 parent 98e7894 commit 936a378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ document.querySelector('button[type="submit"]')
return showAndHideErrorMessage()
}
if (!emailField.value.match(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/)) {
return showAndHideErrorMessage()
// return showAndHideErrorMessage()
}
firstNameField.value = ''
lastNameField.value = ''
Expand Down

0 comments on commit 936a378

Please sign in to comment.