anchor.diff:                form(method='POST', action='/passwordless-auth')
                     input(type='hidden', name='_csrf', value=_csrf)
                     .form-group
  -                      input.input-lg.form-control(type='email', name='email', id='email', placeholder='Email', autofocus=true)
  +                      input.input-lg.form-control(type='email', name='email', id='email', placeholder='Email', autofocus=true, required)
                     .button-spacer
  -                  button.btn.btn-primary.btn-lg.btn-block(type='submit')
  +                  button#magic-btn.btn.btn-primary.btn-lg.btn-block(type='submit')
                       span.fa.fa-envelope
                       | Get a magic link to sign in.
           .row
  
positive.code:               p.text-center
                  | freeCodeCamp uses passwordless authentication.
                  br
                  | If you are a new camper just use any email, and sign up instantly,
                  | or use your existing email with us, if you already have an account.
                br
                p.text-center
                    a(href="/signin") Or click here if you want to sign in with other options.
  
          script.
             $(document).ready(function() {
              $('form').submit(function(event){
                event.preventDefault();
                $('#flash-board').hide();
                var $form = $(event.target);
                $.ajax({
                    type        : 'POST',
  
negative.code:                       .removeClass('alert-success')
                        .addClass('alert-info')
                        .fadeIn();
                      disableMagicButton(false);
                    }
                })
                .done(data =>{
  