It can take up to 15 minutes for the code to be emailed to you, and check your junk email folders too. (Don’t try to get a new code too soon, it will invalidate the old code and you’ll end up waiting longer.)
If you didn’t get a code, check that you have the correct email listed in your account:
Select MyAccount from the upper right.
Click the Account Settings option.
If the email is wrong, click Edit on the Email address line in the PROFILE section and follow the instructions.