Design comparison
SolutionDesign
Community feedback
- @IryDevPosted over 1 year ago
Hey @Elvislex, well done for completing this challenge
I have some advice in order to improve your solution :
- wrap the whole main content of your page in the semantic <main> tag
- replace the div attribution with the semantic footer tag <footer>
- Your page should have at least one h1 tag
- I suggest the h1 to be "Your result"
- if you want to correctly center the score card use the property display: flex ; align-items: center; justify-content: center
HTML :
<body> <main> <section id="summaryresult"> </section> </main> <footer> </footer> </body>
CSS :
main{ display: flex; align-items: center; justify-content: center; min-height: 100vh; }
I hope you'll find this helpful😄
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