Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I am proud i could center the text using the text align property and center as its value.
What challenges did you encounter, and how did you overcome them?I found it hard to center the text but i used flex
What specific areas of your project would you like help with?Accessibility
Community feedback
- @MaracaraCarlosPosted 5 months ago
Hello Gilbert there are a couple of things you can do to improve your code:
- In the buttons you can place the class
cursor: pointer;
this will cause every time the mouse cursor passes over your button the hand will appear pointing to the element. - You can rely on tools like Box Shadow CSS Generator for the shadows on your button.
- To make your HTML semantic you can use
<section>
,<main>
,<header>
instead of<div>
. Semantic HTML5 Elements Explained - Use
rem
instead ofpx
forfont-size
, it adapts better to browsers and devices. I leave this link so you can have more information. Why font-size must NEVER be in pixels
Marked as helpful1 - In the buttons you can place the class
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