Design comparison
SolutionDesign
Solution retrospective
Was unable to set the sub para graph in two lines of the heading so left it on one line. please guide me how can I make it in line and in center of the page too. Because if I'm fixing the width of the p tag of that section it is left aligned,
Community feedback
- @Aimal-125Posted over 1 year ago
In your CSS code, increase the height of body element to 120 or 150vh by using media query with
max-height: 400px;
so that your solution look good on screens with small heights.Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord