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

css html

#accessibility#cube-css#tailwind-css
aman kumarā€¢ 710

@amankumar1222

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


Please give me any feedback how i can improve my skills ,

Community feedback

@VCarames

Posted

Hey @amankumar1222, some suggestions to improve you code:

  • To give your HTML code structure, you want to set up your code in the following manner:
<body>
   <header></header>
   <main>
      <section>
            <div class="supervisor-card"></div>
            <div class="team-card"></div>
            <div class="karma-card"></div>
            <div class="calculator-card"></div>
      </section>
   </main>
</body>

The Header Element represents introductory content.

The Main Element identifies the main content of the document.

The Section Element can be used to wrap content that is related to each other.

And since none of the cards make sense on their own, a simple Div will do for each card.

  • The heading is one single heading so the entire thing should be wrapped in a single <h1> Heading along with a Span Element.

  • Increase the padding of each component so the image and text do overlap.

  • Add a third layout to make the transition from mobile šŸ“± -> desktop šŸ–„ views smoother.

  • 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

More Info

**ARTICLE

  • Implement a Mobile First approach šŸ“± > šŸ–„

With mobile devices being the predominant way that people view websites/content. It is more crucial than ever to ensure that your website/content looks presentable on all mobile devices. To achieve this, you start building your website/content for smaller screen first and then adjust your content for larger screens.

Happy Coding! šŸ‘»šŸŽƒ

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