Advertisement
Guest User

Untitled

a guest
Apr 10th, 2020
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <title>Document</title>
  7. </head>
  8. <body>
  9.   <button id="btn">Ok</button>
  10.  
  11. <!-- The core Firebase JS SDK is always required and must be listed first -->
  12. <script src="https://www.gstatic.com/firebasejs/7.14.0/firebase-app.js"></script>
  13.  
  14. <!-- TODO: Add SDKs for Firebase products that you want to use
  15.      https://firebase.google.com/docs/web/setup#available-libraries -->
  16.  
  17. <script>
  18.   // Your web app's Firebase configuration
  19.   var firebaseConfig = {
  20.     apiKey: "AIzaSyAElLWsc3qlpvG-Tb5rMNbfxVnKfL9y9bo",
  21.     authDomain: "html-messenger-app.firebaseapp.com",
  22.     databaseURL: "https://html-messenger-app.firebaseio.com",
  23.     projectId: "html-messenger-app",
  24.     storageBucket: "html-messenger-app.appspot.com",
  25.     messagingSenderId: "569400380965",
  26.     appId: "1:569400380965:web:79bf2b724db94b98e9b9cc"
  27.   };
  28.   // Initialize Firebase
  29.   firebase.initializeApp(firebaseConfig);
  30. </script>
  31.  
  32. <script src="script.js"></script>
  33. </body>
  34. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement