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

Product Preview Card Component

P

@sambarvadai

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I'm pretty proud of getting the view almost perfectly for both the desktop widths and the mobile widths specified in the style.md file(matching everything from the color elements to the font size, style and placement.)

For improvement, I'd like to explore more with flexbox shrink properties and make my views more fluid with any screen sizes(currently mobile view has only be tested on Samsung S8+:width:375px).

What challenges did you encounter, and how did you overcome them?

The biggest challenge was to write out the mobile CSS without hampering the work done for the wide screens. I had to brush up my CSS fundamentals, look up on overriding properties and ensured that whatever changes I made for the mobile layout, I was undoing them for the wide screen by overriding said changes.

What specific areas of your project would you like help with?

Feedback, definitely. Since the community is filled with so many talented developers, constructive feedback will definitely help me improve my skills. Also, if someone can comment on my code quality, it'll definitely help me improve. I know that I have written a lot of redundant CSS and also a lot of maybe unnecessary CSS attributes, so any areas of improvement will help me become a better developer.

Community feedback

cassiopeia 160

@cassiopeia001

Posted

nice work the solution looks very close to the design however for mobile screens the components should be aligned vertically (check the design images provided).

0

P

@sambarvadai

Posted

@cassiopeia001 I didn't notice that was the case? I used the mobile view (specifically for Samsung S8+) in the inspect tool and it's showing me the page as exactly as how it's shown in Figma. Let me see how I can fix this. Thank you so much for your feedback :).

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