@raficode2303
Posted
Does the layout look good on a range of screen sizes? the site is almost 100% like the design 👍. good work.
- for some reason the site not work wekll as expected at Mozila Firefox browser
- need to add focus state for the add-to-cart button interactive element
improvements could be made:
-
try to use css ::before pseudo-element for adding the cart-icon instead using <img /> tag
-
try to use
<picture>
atg with srcset attribute insted using 2<img>
tags for the product image -
is better to use css
min-height
insteadheight
at .container class -
try to use CSS custom properties bonus: try to build it with css GRID instesd Flex
keep to build 👷
Marked as helpful
@raficode2303 Thanks for all the constructive feedback. Sorry for the late reply also, been working my way through Kevin Powell's course Conquering responsive layouts so that kept me busy for some time.
I've gone through all the feedback and done various updates for everything except the CSS grid part which I'll try out more in future challenges :)
Also thanks for pointing out that this didn't look that well in Firefox, this made me find a few additional issues in the CSS which I have fixed now! :)
@raficode2303
Posted
@andiaz no need to Sorry. Kevin Powell is great, i follow him on YouTube. i'm sure that his course 'Conquering responsive layouts' is more than worth it. after you learned Javascript and became more Advanced, i recommend on Josh W. Comeau course: 'CSS for JavaScript Developers'. his site is Gold. Great Day.
Marked as helpful
@raficode2303 Awesome, thanks a lot! I added that course to my growing list of various courses I will go through eventually :)