Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Four card feature section using Flexbox

Danilo 200

@OneBitMance

Desktop design screenshot for the Four card feature section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello everyone once again!

This is another small project I did, but I had some issues dealing with layout and how I should group content to make it responsive easily. Please let me know if you have any kind of feedback I will gladly read your suggestions.

Have a nice day!

Community feedback

@VCarames

Posted

Hey there! 👋 Here are some suggestions to help improve your code:

  • 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 a span element.
  • “icons” serve no other purpose than to be decorative; They add no value. Their Alt Tag should left blank and have an aria-hidden=“true” to hide them from assistive technology.

More Info:📚

https://www.w3.org/WAI/tutorials/images/

  • 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 helpful

1
Adriano 33,980

@AdrianoEscarabote

Posted

Hello Danilo, how are you? I truly loved your project's outcome, however I have some advice that I hope you'll find useful:

<h1>Reliable, efficient delivery</h1>
<h1>Powered by Technology</h1>

The most appropriate in this case would be just an h1 tag! containing the two contents, to make them break a line, we can use a max-width, and for the styling we can use a span element with the content that will be changed!

I noticed that the background colors of the project are not the same as the example layout, this is causing a lack of contrast on the four cards!

The remainder is excellent.

I hope it's useful. 👍

Marked as helpful

1

Please log in to post a comment

Log in with GitHub
Discord logo

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