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

@anondobhai

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


Hi FrontEnder!

This is my solution with sass for Four Card Feature :) Please, give your opinion!

Happy coding ;)

Community feedback

Lucas 👾 104,400

@correlucas

Posted

👾Hello Abdullah, Congratulations on completing this challenge!

Your solution its almost done and I’ve some tips to help you to improve it:

You made your html structure entirely with div blocks but these div doesn't any semantic meaning, for this reason is better you use a better html markup improving your code, for example for each vehicle card you use <article> instead of the <div>.

The box-shadow is a bit too evident, this is due the opacity and blur. The secret to create a perfect and smooth shadow is to have low values for opacity and increase blur try this value instead: box-shadow: 12px 7px 20px 6px rgb(57 75 84 / 8%);

If you’re not familiar to box-shadow you can use this site to create the shadow design and then just drop the code into the CSS: https://html-css-js.com/css/generator/box-shadow/

✌️ I hope this helps you and happy coding!

0
sohaib 50

@muffin50

Posted

Hi Abdullah, your design looks very respensive and great ! .

i have some suggestions make it better by using these codes :

First, you have to to add

main div {

border-top: 3px solid color;

padding: 15px ;

border-radius:5px ;

} you can change the size, and colors of divs border as they asked you to do .

Secendly, remove all divs class:"line line__"

i hope this helps you .

0

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