responsive website

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,
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Aimal-125
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 helpful
Join 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