Thanks a million. yes I have started reading up on what Max said and the links he gave me to go check out and trying to put it together. That's what I was wanting realy didn't mean to imply that I was wanting the actual code for it because then I wouldn't learn much, just needed to know realy what the heck I should look for, thanks for that last point I'll definitely go read up about window.localstorage, did not think about that at all.
Nice work so far! The reason it's tough to find code to do what's asked is that there are a lot of pieces rolled into one.
Here's a breakdown of the pieces:
Enter name (get value of html input tag when submit button is clicked)
Put the latest score in, sort the array, and remove the bottom item (this can be optimized, but start with whatever method works for you)
If you want to keep track of the scores in the user's browser after they leave the page, use window.localStorage
I hope this helps!
I recommend starting with Max's explanation before this one though.
Thanks a million. yes I have started reading up on what Max said and the links he gave me to go check out and trying to put it together. That's what I was wanting realy didn't mean to imply that I was wanting the actual code for it because then I wouldn't learn much, just needed to know realy what the heck I should look for, thanks for that last point I'll definitely go read up about window.localstorage, did not think about that at all.
Glad it was helpful!