Design comparison
Solution retrospective
You can help me by giving feedback on improving my code and reducing unnecessary code.
Community feedback
- @enesekenPosted over 1 year ago
Here is some tips for you I wish these are work;
First of all you should nested your elements in
<main></main>
if you want to center a div or something you can useflex
propertiesmain{ display: flex; justify-content: center; align-items: center; }
You can use object-fit for showing propertly your image:
object-fit: cover;
You can use hover effect when mouse on button:
button:hover{background-color: x;}
Also I saw you icon is not same within provided:
- Warning
<img src="images/shopping-cart.png" alt="cart-image">
- Solved
<img src="images/x.SVG" alt="cart-image">
Marked as helpful0@yaditya007Posted over 1 year agoThanks for your feedback, keep supporting us in the future. @eneseken
1 - Warning
- @itushPosted over 1 year ago
Congratulations on completing the challenge! š
- In my projects, I try to use at least one main element for a page (entire content goes into the main), and avoid divs as much as possible and use section and article element wherever I can.
<body> <main> All content </main> </body>
-
Feel free to checkout my product preview project code and notice how I handle responsiveness with mobile and desktop product images.
-
I remember when I started out, I made countless mistakes and spent long hours searching for solutions. But hey, you don't need to go through the same struggles! š To help you shorten the learning curve, I recommend going through the following articles. They contain valuable insights that can make your journey smoother:
šš 12 important CSS topics where I discuss about css position, z-index, box-model, flexbox, grid, media queries, mobile-first workflow, best practices etc. in a simple way.
šš 11 important HTML topics
I hope you find these resources helpful in your coding adventures! š¤
I'm eagerly looking forward to seeing the amazing projects you'll create in the future! šš»
Keep up the fantastic work and happy hacking! šŖāØ
Marked as helpful0@yaditya007Posted over 1 year agoI appreciate your feedback it is really useful. I hope near future you will give us the same support. @itush
1@itushPosted over 1 year ago@yaditya007
Thank you for your kind words! šš
I'm glad to hear that my feedback has been helpful to you. šš”
Always happy to help šš¤
Marked as helpful0
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