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

Animated fylo data storage component

NaQuā€¢ 570

@NaQu2003

Desktop design screenshot for the Fylo data storage component coding challenge

This is a solution for...

  • HTML
  • CSS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Any feedbacks are highly welcome

Community feedback

Gift Richardā€¢ 520

@fibonacci001

Posted

Hey there! šŸ‘‹

You did an awesome job on this data storage component challenge. The overall layout and styling look great! I just have a few friendly suggestions that could help take it to the next level:

šŸŒŸ For accessibility, the <div> with id="cart" should be a <button> element instead. That way screen readers can identify it as a clickable button. Don't forget to add cursor: pointer to show the hand icon on hover.

šŸŒŸ I noticed the <main> tag only wraps part of the content. Try wrapping the entire component in <main> so assistive technologies can identify the main content correctly.

šŸŒŸ Box-sizing: border-box is your best friend! It makes width/height include padding and borders. No more math headaches šŸ˜…. Check it out here.

šŸŒŸ Classes over IDs can help avoid specificity issues down the road. IDs are best for JS hooks.

šŸŒŸ Avoid fixed heights, let the content determine the height for responsiveness.

šŸŒŸ Rem/em units > vw units for font-size. More consistent across devices.

šŸŒŸ For two equal Flex columns, width: 50% on both works like a charm!

I hope these tips help take your skills to the next level! Your solution is looking awesome, and most importantly, keep enjoying the process. Coding is fun, creative, and empowering. Wishing you the best on your next project! šŸš€

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