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 html and css

merii 80

@merii-crl

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


I would love to hear your feedbacks If you have one, thanks!

Community feedback

Shivraj K 400

@Shivraj-K09

Posted

Your HTML and CSS code look great! Here are a few suggestions on how you can improve further:

  • Use more semantic HTML elements: Instead of using generic div elements, you can use more semantic elements like header, section, article, and footer. This makes your code more readable and accessible.
  • Use responsive images: Adding responsive images with the srcset and sizes attributes can help optimize your website's loading speed and improve user experience.
  • Write mobile-first CSS: Writing CSS with a mobile-first approach means that you focus on styling for smaller screens first and then add on styles for larger screens. This helps you avoid styling conflicts and makes your website more responsive.
  • Add more accessibility features: Ensure that your website meets accessibility standards by adding alt text for images, using semantic HTML, and testing keyboard accessibility.
  • Use CSS variables: CSS variables, or custom properties, can make your CSS code more modular and easier to maintain. You can define a variable for a color, font size, or any other property, and then use it throughout your code.
  • Overall, your code looks great and you have followed best practices in HTML and CSS. Keep up the good work!

Marked as helpful

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