Design comparison
Solution retrospective
Trying to get better with layouts, any advice would be appreciated. Also looking for more advice on media queries, looking for best ways to simplify my code. I feel I overcomplicate things too often
Community feedback
- @VCaramesPosted almost 2 years ago
Hey there! 👋 Here are some suggestions to help improve your code:
- Your site is not complete. It needs to response so multiple screen in order to be considered complete. Here is a link to Google Developer’s site that will teach you how make it 100% responsive:
-
The
main
element should only be wrapping the card section. -
The main heading and text should be wrapped in a
header
element. -
The “Reliable, efficient delivery Powered by Technology” is one single heading so the entire thing should be wrapped in a single
H1
heading along with aSpan
element. -
The “icons” serve no other purpose than to be decorative; They add no value. Their
Alt Tag
should left blank and have anaria-hidden=“true”
to hide them from assistive technology. -
Using CSS Grid with
Grid-Template-Areas
will make things way easier when building the layout; it will give you full control of the layout.
Here is an example of how it works: EXAMPLE
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 🍂🦃
Marked as helpful1
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