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

Parfum Challenge

P

@PhilippeItsMe

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?

Flexbox and grid and getting easier for me (not easy but not as hard as before) So it's cool

I used the clamp(0.9em,0.4em + 1vh,1.1em); solution to make my font-size growth with the vh of the page

Not so seduce by the function for the moment.

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

To put in place the grid and to over come the issue of the rounder corner that i put first on the image and then on the container (

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

I would like to have my font-size increasing not only when I increase the height of my page but also when I increase the widht of the page. A 2 directions actions.

Would be great to have your insight on this one

Second issue : the space between the button and the bottom of my container is increasing when a push live my code with gitup but not when I dont it with Visual Studio Code, any ideas why ?

Community feedback

JoyObaidu 280

@JoyObaidu

Posted

To achieve a font increase according to the width and height of the page, you can solve that using this :

  1. font-size: calc(var(--base-font-size) + var(--scale-factor) * (100vw + 100vh) / 2);

For your second question : Ensure all changes are committed and pushed to the repository. Check for case sensitivity in file names and paths. Different default styles applied by the browser.

Keep Up the good work 👍😊

0

@riishi101

Posted

Keep up the good work.

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