JSFiddle - React, Tailwind, and code Playground

HTML

<script>
            window.fbAsyncInit = function() {
            FB.init({
              appId      : '99999999999999999999',
              xfbml      : true,
              version    : 'v2.6'
            });
            FB.getLoginStatus(function(response) {
              if (response.status === 'connected') {
                  localStorage.setItem("f_uid", response.authResponse.userID);
                  FB.api(response.authResponse.userID+"?fields=id,name,email",function(response) {
                      //window.location.href="game.html";
                      localStorage.setItem("name",response.name);
                      localStorage.setItem("email",response.email);
                });
              }
              else {
                FB.login(function (response)
                {
                    if (response.authResponse == null)
                        top.location.href="https://www.facebook.com/anexiagmbh";
                    localStorage.setItem("f_uid", response.authResponse.userID);
                    FB.api(response.authResponse.userID+"?fields=id,name,email",function(response) {
                        //window.location.href="game.html";
                        localStorage.setItem("name",response.name);
                        localStorage.setItem("email",response.email);
                    });
                }
                ,{scope: 'email'});
              }
            }, true);
          };

        function onLogin(response) {
          if (response.status == 'connected') {
            FB.api('/me?fields=first_name', function(data) {
                  var welcomeBlock = document.getElementById('fb-welcome');
                  welcomeBlock.innerHTML = 'Hello, ' + data.first_name + '!';
            });
          }
        }
          (function(d, s, id){
             var js, fjs = d.getElementsByTagName(s)[0];
             if (d.getElementById(id)) {return;}
             js = d.createElement(s); js.id = id;
             js.src =...