How do I show each item as a box for a website like Stackoverflow using Java Spring and JSP?

(read 'item' as 'question' in the above sentence)

I'm developing a website like Stackoverflow. On home page, I need to show each question (with its basic details like number of people answered, answer button and follow button) as a box with a line separator for each box.

enter image description here

My tech stack Java Spring and JSP , HTML, CSS, JS+JQuery.

How can I do this?