@danielmrz-dev
Posted
Hello there!
Your solution looks awesome!
I have just one suggestion:
📌 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 style tags within HTML files do not benefit from this caching.
I hope it helps!
Marked as helpful