Freedteck• 130
@Freedteck
Posted
Hello, I can't find fault in ur html code, where you probably need changes is in your css code. Below are the suggestions I have:
- Since u used the flexbox property on ur body tag, use the
flex-direction: column;
. This will make ur card at the center of the page. - For the font weight, it's best to apply corresponding weight to individual element such as
h1 {font-weight: 700;}
andp {font-weight: 400;}
- The flexbox has a gap property which you can apply to the
card-contents
to give space btw the components inside. Such asgap: 20px;
Marked as helpful
1
Alfrey-Chan• 20
@Alfrey-Chan
Posted
@Freedteck Thank you, I will consider these in my future projects!
0