CodePen

HTML

            
              
            
          
!

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              document.addEventListener("intel.xdk.facebook.logout",function(e) { 
   if (e.success == true) 
   { 
     console.log("Logged out of Facebook"); 
   } 
   else 
   { 
     console.log("Unsuccessful Logout"); 
   } 
 }, false); 
intel.xdk.facebook.logout(); 
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................