So I have a list of Posts sorted by upvotes. I want the most upvoted to have the rank 1, the second most upvoted to have the rank 2 and so on until the last one has the biggest number.
Any Ideas?
So I have a list of Posts sorted by upvotes. I want the most upvoted to have the rank 1, the second most upvoted to have the rank 2 and so on until the last one has the biggest number.
Any Ideas?
2 Solutions come to mind:
My plan with that is when the user scrolls, every time the user scrolls 100 pixels, one of the posts appear. I’ll use math so it is equal to rank. Also, I wanted the posts to be overlapping, or else it looks bad.
This topic was automatically closed after 70 days. New replies are no longer allowed.