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

Submitted

interactive-rating-component-main

@Wali1209

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello this is my 3rd FrontEndMentor challenge My question is about the responsiveness of the Page although in this challenge It doesn't seem that it needs media queries but I have seen some webpages that are too good in terms of responsiveness that their font size constantly decreased when I lower the screen width through developer option can anybody tells how it works if you understand my question?

Community feedback

@ShivangamSoni

Posted

Well there are plenty of ways to do that.

  • Setting all the fonts using rem. Then using media query you can adjust the root font-size
  • Using Viewport Width (vw) to set the fonts this way it automatically adjusts based on Viewport Width. I have seen this used in some websites.
  • Using clamp you can set a min, max & preferred value for the fonts, like this font-size: clamp(1rem, -0.875rem + 8.333vw, 3.5rem); You can learn more about this Here

Marked as helpful

1

@Wali1209

Posted

Thanks a lot, @ShivangamSoni This information is new to me I'm gonna try all these three methods.

1

@Wali1209

Posted

Hi, @ShivangamSoni I like the CSS clamp() function and I also modify this project to add some responsive topography thnx to you.

1

@ShivangamSoni

Posted

@Wali1209 Nice Work.

Marked as helpful

1

@Wali1209

Posted

@ShivangamSoni My GitHub Pages site is currently being built don't know why is taking so long but thnx for the advanced compliment :)

0

@ShivangamSoni

Posted

@Wali1209 I think there some issue with GitHub today. My projects GitHub Page deployment also took too long & failed a dew times.

You might wanna try to initiate a redeployment.

Marked as helpful

1

@Wali1209

Posted

@ShivangamSoni Yeah I tried the same thing and it works now my page is online again

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