@rayaatta
Posted
Hello Muzamil, congratulations on completing this challenge π I have some tips that you might find useful.
1
Try to make your html more Semantic by wrapping the main page content inside a <main>
tag .
Replace
<div class="main-container">
With
<main class="main-container">
.
This changes nothing visually but
Using it makes all the difference.
Using semantic markup improves
SEO
And user experience for people using assistive technology such as screen readers.
2)
Wrap the main title with <h1>
instead of just h3
Here's a quick guide on how to use them:
The <h1>
to <h6>
tags are used to define HTML headings. <h1>
defines the most important heading. <h6>
defines the least important heading. Only use one <h1>
per page - this should represent the main heading/subject for the whole page. Also, do not skip heading levels - start with <h1>
, then use <h2>
, and so on.
You can then style them in you css.
Unlike what most people think, it's not just about the size and weight of the text
3) To make the card more responsive remove this
height: 78%;
from your
.sub-container
I hope this helps.
Your solution is niceπ
Happy coding π