Challenge: Input Validation for Registration
Tarefa
Swipe to start coding
Implement a method that validates user registration information by checking both email and password requirements.
- The method must return
trueif the email is in a valid format and the password meets length requirements. Otherwise, it must returnfalse. - The email is valid if it contains exactly one "@" symbol and at least one "." after the "@".
- The password is valid if it is at least 8 characters long.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 2
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 4.17
Challenge: Input Validation for Registration
Deslize para mostrar o menu
Tarefa
Swipe to start coding
Implement a method that validates user registration information by checking both email and password requirements.
- The method must return
trueif the email is in a valid format and the password meets length requirements. Otherwise, it must returnfalse. - The email is valid if it contains exactly one "@" symbol and at least one "." after the "@".
- The password is valid if it is at least 8 characters long.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 2
single