@dpayne713
Posted
Hi Aman,
Looks pretty good!
You are right there is a bit of an issue with responsiveness.
I'd recommend putting the whole component in a wrapper div
that way you can center that div by giving it a defined width and applying margin: 0 auto
.
This, however, is only one of many ways to fix it. This site has great explanations on these types of css inquiries:
https://css-tricks.com/centering-css-complete-guide/
I like how the questions expand up and down. I might also recommend making that functionality work when you click on the question as well - as that tiny arrow will be difficult to click on a mobile device.
Keep it up!
David