My first solution using HTML and CSS

Please log in to post a comment
Log in with GitHubCommunity feedback
- @Hassiai
Replace <div class="main"> with the main tag and <h2> with <h1></h1> to fix the accessibility issues. for more on semantic html visit https://web.dev/learn/html/semantic-html/
Add padding left and right values to p .
Use rem or em as unit for the padding , margin, width and preferably rem for the font-size for more on this watch this https://youtu.be/N5wpD9Ov_To
Hope am helpful Happy Coding
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