Codes are 6 digits, valid for 10 minutes, with 5 attempts. After the fifth wrong code the pending signup is dropped and you start again. Resend has a 60-second cooldown and a limit of 3 codes per address in 10 minutes; past that you get 429 until the window passes.
Also check the password. The form only checks its length. The full rule (at least 8 characters with a lowercase letter, a digit and a special character) is checked after the code, so something like password1 gets through the form and fails at the end.