5 ms·
I really like this! How do you decide the positions of each post? What gets the center spot above the fold? The HN submission with the most upvotes?
by zerojames 3y ago
I really like this! How do you decide the positions of each post? What gets the center spot above the fold? The HN submission with the most upvotes?
- howmayiannoyyou 3y agoGood question. Was wondering the same thing.
- debarshri 3y agoThank you very much. You words are kind. So the way I approached it was that, the moment you open the page you should be able to see all the top posts that you see on hacker news. The hero post is the top post in HN, all the posts with images are position 2 to 6 in HN. And rest of the elements are divided by 3 and organised that way.