diff --git a/apps/signup/signup.js b/apps/signup/signup.js index ddf6d1348..0c388e97a 100644 --- a/apps/signup/signup.js +++ b/apps/signup/signup.js @@ -14,7 +14,7 @@ function addUser(){ if (email === '') { emailErr.textContent = 'Please enter your email'; } else if (!(/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(email))) { - emailErr.textContent = 'Please enter a valid email'; + emailErr.textContent = 'Please enter a valid email address. For example: name@example.com'; } @@ -119,4 +119,4 @@ $(window).on('load', function() { function loginPage(){ const url = "/login.html"; window.location.href = url; -} \ No newline at end of file +}