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

used HTML and CSS Flexbox

Rohan deshmukh• 70

@Rrdesh07

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


1]How i can align the image inside the card container properly ?

Community feedback

Raymart Pamplona• 16,140

@pikapikamart

Posted

Hey, great work on this one. Layout is good both desktop and mobile. Hafizan already state useful thing, just going to add some.

  • Avoid multiple usage of h1 on a single page. What you could done is wrap both the "Reliable,efficient delivery" and the "Powered by Technology" on a single h1 element, then wrap the second text on a span then just give it a display: block so that it will go below the first text like on the original.
  <h1>
    Reliable,efficient delivery
    <span> Powered by Technology</span>
 </h1>

The same goes for the p tag below the h1. You could wrap both in p tag then do the same thing, span and display: block

  • the images could have alt="" empty alt text since they are just for decorations.
  • have a main tag that wraps the whole content
 <body> 
   <main>
      {wrap everything by main}
  </main>
</body>

Aside from those, good job.

Marked as helpful

1

Rohan deshmukh• 70

@Rrdesh07

Posted

@pikamart thanks for suggestions I will surely try to remember them while making projects

0
Hafizan Adli• 1,190

@hafizanadli

Posted

I think you already solve to align that img properly.

But supervisor, team-build, karma , calculator element have similar styling. So you can make same classname for those four, instead of select it one by one and apply same styling.

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