Design comparison
SolutionDesign
Community feedback
- @jibreel1Posted almost 3 years ago
Nice design right here, Dani👍👍
Pls, is there a reason why you had separate css files for the mobile and desktop views?
Media queries could solve that in just one file.🤔
1@FeelshotPosted almost 3 years agoHi @jibreel1, of course, media queries can do that, however I read that a best practice for long code (like a website with much more code) would be to separate the code so that it does not load all the css even when it is not used. I know this page did not need that, however I put it into practice to see how it would work. I hope my point of view serves you. : D
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