Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Request path contains unescaped characters
Request path contains unescaped characters
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

(semi) Responsive Product Card [HTML & CSS]

Nikki 80

@N11KK11

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


I'm having most trouble with responsiveness. Hope to learn more/best practice by reading others solutions. Thank you for all feedback!

Community feedback

Adriano 34,090

@AdrianoEscarabote

Posted

Hi Nikki, how are you?

I really liked the result of your project, but I have some tips that I think you will enjoy:

  • <html> element must have a lang attribute, para informar qual o idioma do conteudo do documento!
  • every Html document must contain the main tag, so we can identify the main content, to fix this, wrap the main content with the main tag. HTML5 landmark elements are used to improve navigation experience on your site for users of assistive technology.
  • Consider using rem for font size .If your web content font sizes are set in absolute units, such as pixels, the user will not be able to re-size the text or control the font size based on their needs. Relative units “stretch” according to the screen size and/or user’s preferred font size, and work on a large range of devices.

if you want to continue coding with px, you can download a very useful extension in vscode, it converts px to rem! link -> px to rem

The rest is great!

I hope it helps... 👍

Marked as helpful

1

Nikki 80

@N11KK11

Posted

@AdrianoEscarabote

Hi Adriano thank you so much for feedback! I will implement your advices , to make this project more accessible and thus more awesome!

Thank you for your kind help😊

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