Transfer data from Firebase to webpage


I have a Firebase database who has a structure like this:

I want the webpage to be updated every time a user post´s a new "Best runtime".
I have made an array of the data like this:

var arr = [
   Best runtime

The data is transferred to HTML like this

document.getElementById('runTime').innerHTML = JSON.stringify(arr);

And in the HTML I just have this:

<ol id="runTime"></ol>

I get the webpage to update my first time a user updates the runtime, but just one time pr. user, and it overwrites the previous post.
I would like the posts to get posted as a list, and every time a user updates the time, it goes on top of the list.

The console:


updates every time changes their runtime, so I basically want whats in the console :slight_smile: