Design comparison
Community feedback
- @ivan-josefPosted 3 months ago
in my opinion you made a great solution, but I think it's a good code practice to make a different file for your style and I like to keep things more organized like putting the variables (* and :root) on top of each other and do the same for the rest of the code, writing the css in the order you did the html. and a friend told me in my last challenge that it is better to use a div outside the tag you are going to use flexbox than to use the body tag
1@Szafter12Posted 3 months ago@ivan-josef Normally I put the styles and scripts in another file but for such a small task I figured I would do everything in one plus the styling technique I use is BEM and normally write code in scss where it comes in handy. But thanks for the reply
1
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