Design comparison
Solution retrospective
I am proud that the webpage is responsive to different screen sizes. I would use both grid and flexbox to do it differently next time.
What challenges did you encounter, and how did you overcome them?There were two different images for mobiles and desktop screens. I did not know how to replace for different screen sizes. But while doing this project I learned to replace the images by hiding image and showing only the related image.
What specific areas of your project would you like help with?There is problem with as I have used it for the deducted price and last price. I used grid to show it in the same line. So, the placement for the mobile screen is not exact as the mobile design provided.
Community feedback
- @Jani-BPosted 16 days ago
Hello,
Looks very good :)
With the price and last price. I think the problem you mentioned comes from the following: You have named the divs "price" and then the childredn divs "recent price" and "deducted price". The problem is that when you give the "price"-div a display: grid -> it will also give it to the children as they also have the div with "price" class. I would name the children as "recent-price" and deducted-price" so you would not run to problems so easily. Then it would not copy the class "price" display: grid to all of the divs.
I hope this helps. Great work with the code :)
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin 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