@sandro21-glitch
Posted
Hi Mahmud
Here are some suggestions to improve your code
Use semantic HTML elements:
Instead of using a <section> element for the card, you could use an HTML5 semantic element such as <article> or <figure> which would better describe the purpose of the element.
Use CSS classes effectively:
You have used the same <br> tag multiple times to create spaces, instead you can use CSS classes to control the spacing.
Use CSS reset:
Instead of writing the CSS reset code manually, consider using a popular CSS reset stylesheet such as Normalize.css or Eric Meyer's Reset CSS.
Minimize the use of hardcoded values:
Instead of using hardcoded values like 5% for margins and paddings, consider using a relative value such as 1rem or a CSS grid/flexbox to create the layout.
Avoid over-qualified selectors:
Over-qualified selectors (e.g., .text-area h3) can make the code longer and harder to maintain. Consider using more specific class selectors where possible.
Happy Coding
Marked as helpful