@ApplePieGiraffe
Posted
Hi there, once again Shivam! 👋
Good job on another challenge! 👍 I think overall, your solution looks good and responds well! 😀
This is kind of a smaller project, so I think you're right in that you don't have to worry about splitting your Sass files a whole bunch. For a project like this, I would usually have a few partial files like layout.scss (for larger components and the overall layout of the page), base.scss (for a CSS reset and maybe CSS variables), and component.scss (for smaller components like buttons and links), and perhaps utilities.scss... that sort of thing (but that's just me, IDK what others do). For larger projects, you could look into using a popular file structure pattern like the 7-1 pattern.
BEM is pretty nice and I like how it works well with Sass's nesting feature. I think you used it well in this project! 👍
I actually don't use Sass so much (so I'm no expert), but you could look into creating mixins for commonly used styles and then drop those into your styles elsewhere so that you don't have to add many utility classes to each element on your page (if you'd like to work that way). 🙂
Well, keep coding (and happy coding, too)! 😁
@shivjoshi1996
Posted
@ApplePieGiraffe Thanks for the feedback! Appreciate it! :) I'll take a closer look at mixins and see if I can use it for my next project.
Happy coding to you too :)