Design comparison
Solution retrospective
Hello !
It's not pixel perfect but I hope to achieve it soon.
If you notice any errors do mention them in the comment section. Any suggestions on how to improve my code will be appreciated.
Community feedback
- @AngelusLovellPosted over 3 years ago
@xstrafez you did not use the min and max media queries the right way. Which resulted in your design breaking, below 300px.
Personally, I do not use them together in the same queries.
1@Saurabh-Mishra04Posted over 3 years agoHey @ShashaGazem! Thanks for the feedback but I already knew that. I didn't want the design to be responsive below 320-325px.
If you don't mind can you share with me how you would use the queries. (By the way was this comment for me or @xstrafez cuz you mentioned him.)
Thank You!
0@palgrammingPosted over 3 years ago@ShashaGazem and if you design mobile first then you are only assigning media queries in one direction anyway
0@AngelusLovellPosted over 3 years ago@Saurabh-Mishra04 I use media queries defining my design in one direction, mobile-first in my case. Using min and max together is never wrong, but I simply felt writing in such a way would lead me to confusion when I later try to make a change to the code.
And I feel like designing in one direction is structurally consistent. If that makes any sense.
I will be honest I simply wanted to post my first comment, and felt using min and max together is a little dangerous, so without actually confirming i simply pointed it. 😅
0 - @palgrammingPosted over 3 years ago
Overall nice start to this challenge
in mobile view you have a border turning on that you were most likely using for your layout around the text "Full access for less than $1 a day"
0@Saurabh-Mishra04Posted over 3 years agoThanks for letting me know. I have fixed the issue. Hope there are no other errors.
Thank You!!
0@palgrammingPosted over 3 years ago@Saurabh-Mishra04 well if you wanted to add a hover state to your button that would improve and help to complete the challenge
0
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