const autoid=firebase.database().ref("user").push().key; firebase.database().ref("/").child(autoid).set({ email :email, password : password, points :"500", Id:autoid })
var query = firebase.database().ref().child("/"); query.once("value") .then(function(snapshot) { var email = snapshot.val().Email; var point = snapshot.val().Points; document.getElementById("points").innerHTML=point; });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)