Design comparison
Solution retrospective
This page was fun and I had no problem completing it. Question why is it advisable to use a CSS preprocessor like sass if vanilla CSS works just fine?
Community feedback
- @Chanda-AbdulPosted over 2 years ago
Your landing page looks really great overall!
One reason why you may want to use SASS or another CSS framework over plain CSS, is because it allows you to create reusable variables and simplify/condense the actually amount of code you need to write/read. It's a good idea to practice DRY(Do Not Repeat Yourself) coding, if you are writing a piece of code two or more times, you can generally figure out some way to abstract your code with a variable or helper function, and reuse it as needed. This isn't a big deal when you're working on a small scale project, but it becomes very important when you work on large scale projects with others.
Also, it looks like you put all of your react code into one component
App.js
. Consider dividing your code into separate components so that there will be less lines of code in each file. This video may be helpfulhttps://youtu.be/9wK4gHoOh1g
Marked as helpful1@AmohPrincePosted over 2 years ago@Chanda-Abdul Thanks very very much I didn't know I needed sass until I read your comment. Follow me back pl. Thanks
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