What wrong with this code 😢 help give me solution code link | SoloLearn: Learn to code for FREE!


What wrong with this code 😢 help give me solution code link

If I click on submit firebase.database is not function https://code.sololearn.com/We8HqMk4S5QU/?ref=app

8/1/2020 11:00:49 AM

Tony Sharma K. K Gaming

21 Answers

New Answer


Now the error you're getting is permission related. To solve this, follow the steps below : 1) Go to the console of your firebase project. 2) Select 'Database' from the sidebar. 3) Then choose 'Realtime Database'. 4) Go to 'rules' tab, 5) Then, write : true, read : true. 6) Do save and check the code again. It should work now!


K. K Gaming , please include programming language in tags when you post a question here. Thanks!


Maybe Coder bhaiya can help u.


I don't know firebase database i only know firebase cloudstone


use this it will help <script src="https://www.gstatic.com/firebasejs/7.17.1/firebase.js"></script>


Try putting script after body


🎃#H P 22™🎃 Oh i was trying to help him by mentioning Coder bhaiya who is good and have experience in FireBase! btw the post is already more than a month old 😅


Wait what are you trying to do


Firebase.database is not a function😯 it's not defined maybe🤔


https://stackoverflow.com/questions/38248723/firebase-database-is-not-a-function I think here u ll get some help..


Coder you said me in message is not working please tell me another solution 😥😥😓😓


Hummm ok let's see


Making online app


Themmy making online chat app


Coder read messages


🎃#H P 22™🎃 I don't see the point why u have mentioned me here 😅


Arb Rahim Badsa what is old rules I change rules today can you tell old rules