Complete the code to initialize Firebase in a web app.
const app = initializeApp([1]);The firebaseConfig object contains the necessary keys to connect your app to Firebase services.
Complete the code to import Firebase Authentication module.
import { [1] } from 'firebase/auth';
getAuth is the function to access Firebase Authentication features.
Fix the error in this Firebase initialization code snippet.
const app = initializeApp([1]);The firebaseConfig is an object, not a function, so it should not have parentheses.
Fill both blanks to correctly import and initialize Firestore in a Firebase app.
import { [1] } from 'firebase/firestore'; const db = [2](app);
getFirestore is imported and then called with the app instance to initialize Firestore.
Fill all three blanks to set up Firebase Storage and upload a file.
import { [1] } from 'firebase/storage'; const storage = [2](app); const storageRef = ref(storage, [3]);
Use getStorage to import and initialize storage. The reference path is the file name as a string.
