Design comparison
Solution retrospective
your feedback will be welcome thank you in advance
Community feedback
- @danielmrz-devPosted 5 months ago
Hello @nchinche!
Your solution looks great and I have a suggestion to make it even better:
š It's a good practice to keep your styles separate from the HTML file. Although it's possible to include styles directly within the HTML using inline styles or style tags, it's recommended to keep the styles in a separate CSS file for several reasons:
Maintainability: Separating HTML and CSS makes it easier to maintain and update the code. Changes to the design can be made in the CSS file without altering the HTML structure.
Reusability: An external CSS file can be linked to multiple HTML files, allowing you to apply consistent styling across different pages of a website. This avoids redundancy and makes your code more efficient.
Readability: Keeping styles in a separate file makes both the HTML and CSS more readable. HTML files will focus on the structure and content, while CSS files will handle the presentation.
Performance: Browsers cache CSS files, which can improve the loading time of your web pages on subsequent visits. Inline styles and `` tag within the
<head>
section.I hope it helps!
Marked as helpful0@nchinchePosted 5 months agohi @danielmrz-dev thanks to you. your feedback was helpful thank you again
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