@sirajsharma
Posted
- Try to use semantic tags instead of divs.
- Use h1 tag instead of h2 for level headings. Click here for more information on this.
- To center the component you can use flexbox, grid or position. The most simple way is: -
body {
min-height: 100vh;
display: grid;
place-items: center;
}
For more ways, you can visit here.
- You don't need to wrap every tag with
div
. Try to understand the difference between block, inline and inline-block elements. Click here to go to the video. - Try to use
<link>
tag instead CSS@import
. For more information visit here. - Use relative units (em, rem, vw, vh, % etc) instead of absolute units (px, in, cm etc). Click here for more information.
Marked as helpful
@sirajsharma Thanks for the feedback, will go through the resources and make necessary changes as mentioned.
Hussain
@sirajsharma
Posted
@MohammedHussain23 Keep it up bro.
@sirajsharma I guess you have also started using this app recently?
@sirajsharma
Posted
@MohammedHussain23 Yes😅😅