How could I specify that the items in this function
should be added to the top of the list? At the moment it adds items to the bottom.
Here is the function itself:
function listFiller() {
var list = document.getElementById('list');
var entry = document.createElement('li');
entry.appendChild(document.createTextNode(guessedWord));
entry.appendChild(document.createTextNode(" - "));
entry.appendChild(document.createTextNode(seconds));
list.appendChild(entry);
}