// Initialize Firebase var config = { apiKey: "AIzaSyBz13eirmEOGD1uXOZwf6tKGnEsjfwsUFo", authDomain: "platformtechproject.firebaseapp.com", databaseURL: "https://platformtechproject.firebaseio.com", projectId: "platformtechproject", storageBucket: "platformtechproject.appspot.com", messagingSenderId: "1065758005439" }; firebase.initializeApp(config); var database = firebase.database(); var msgRef = firebase.database().ref('survey'); //console.log(firebase); var msgRef = firebase().ref('survey'); msgRef.on('value',gotData,errData); I continue getting this error [Uncaught TypeError: firebase is not a function] as i am trying to read firebase data to web. Chrome console error
