Make the card design responsive
-Width is set to a fixed percentage (width: 15%;).
-This means that the card will always occupy 15% of the viewport width, regardless of the screen size.
-To make the card design responsive, use relative units like percentages or viewport width (vw) to ensure that the card adjusts its size based on the screen size.
.Card {
/* Instead of fixed percentage, use percentage or viewport width for responsiveness */
width: 90%; /* Example: occupy 90% of the viewport width */
}
Make use of semantic HTML elements
-Semantic HTML elements provide meaning to the content, making it easier for browsers, search engines, and screen readers to understand the structure of the document.
-Instead of using generic <div> elements for structural purposes, use semantic elements to better convey the purpose of each section of the webpage.
<header>
<!-- Header content goes here -->
</header>
<article>
<!-- Main content/article section goes here -->
</article>
<footer>
<!-- Footer content goes here -->
</footer>