Creating HTML list of varibles | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Creating HTML list of varibles

I know how to create a list seperate by brackets in HTML (via javascript); but I would like to be able to change the position of the varibles depending on different numerals. E.g.. If there was a game it could serve as a self updating leaderboard using the highest number. How do I implement this?

11th Sep 2020, 4:32 AM
Cam UOR
Cam UOR - avatar
1 Answer
0
Your every list item will have their points. So make their position as their decreasing points and display none for point with no items.
11th Sep 2020, 7:40 AM
Divya Mohan
Divya Mohan - avatar