P. Ricardo• 2,370
@pRicard0
Posted
Some HTML tips
- You need to improve your semantic. You can use the tag main instead of the div with the main class.
- You can use section instead of the div with the flex-item class
- You need to use h1 instead of h2. If your project doesn't already have h1, you can't use h2. You need to respect the hierarchy.
- Instead of using
<a href="#">Learn More</a>
... I think using a button makes more sense.
CSS tips
- I think you should use rem instead of px
- You can add transitions to the button to improve the user experience.
0
Sarmad Khan• 310
@Sarmad-Khan-creator
Posted
Thanks, your suggestions means a lot. @pRicard0
0