Autenticação de Formulário de Login usando Promises.
Como prática de aplicação de Promises em Javascript, e aproveitando o exemplo dado, decidi criar um formulário de login utilizando HTML e CSS, e sua autenticação feita com Promises.
Se o email inserido for diferente de um email pré-definido ([email protected]), dará um erro, do contrário, será realizado o login.