Design comparison
Solution retrospective
Finally done!!!!
I was struggling with this challenge because I decided to start learning and using SASS and BEM.
Any feedback about SASS or BEM or anything is more than welcome!
Happy coding!
Jean Ruiz
Community feedback
- @vanzasetiaPosted over 2 years ago
Hello, Jean! 👋
Great work on this challenge! Your solution looks pretty good! 😀
Some areas that you can improve.
- It's great that you didn't nest too much. However, I would recommend directly selecting the element that you want to style. Like this one, you can just reference the
.plan-premiun
instead of keep attaching the parent element,.plan .plan-premiun
. - I would recommend using anchor tags with
download
attribute for the download buttons. Regardless of this, good job on specifying thetype
of thebutton
elements. By doing this, you prevent the button from behaving unexpectedly. - For the copyright text, I would recommend making them as paragraph elements instead of a list element. It would make sense if the text is read as a normal text.
About the media queries unit, I would highly suggest using the
em
unit. It has more consistent behavior across multiple browsers. There's a great blog post about which unit that you should use for media queries.That's it! Hope you find this useful! 😁
Marked as helpful0 - It's great that you didn't nest too much. However, I would recommend directly selecting the element that you want to style. Like this one, you can just reference the
- @Akhlak-Hossain-JimPosted over 2 years ago
Great work.
Here is my feedback,
- where you are using
.plan { ... .plan__img-bg { ... }}
you can use this way.plan { ... &__img-bg { ... }}
- in media query I think it's best to use
px
value rather thanrem
. - and as you are using
scss
try using it's own variable declearation format ie$border-dark: #000;
and you can use itborder: 1px solid $border-dark;
so you don't have to typevar()
every time.
Happy coding :)
0 - where you are using
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