Design comparison
SolutionDesign
Solution retrospective
code is somewhat modified . I quite unsure about padding around the wrapper or components
Community feedback
- @ascarfone2Posted about 1 year ago
I put both blocks of text into a single container (I used <h1> for the first block, and a <p> element for the second), and played around with margin and padding (as well as the spacing above the <p> element to get the spacing looking as closely as the example).
Hope that helps!
1
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