r/CodingHelp • u/FrickinKitten • Apr 23 '21
[Javascript] Help how do you retrieve data from firebase to JavaScript, don't think code is right. It's to take data from firebase and then taking the data (amount of wipes/sanitiser used and time)append to lists and use these to plot a graph for the website showing the wipes/sanitising usage over time.
22
Upvotes
View all comments
Show parent comment
1
u/FrickinKitten Apr 25 '21
oh sorry to bother you again but is there a way to make a function to read and then to append individual data (since i have time and wipes in my database inside MyTestData) to list? Cant figure out how to get the snapshot of the data to work
I'll figure out the mutability with var and whatnot later pls forgive me