@AshongAbdallah06
Posted
Remove the height from the component class and the h1 class Remove all the padding from the h1 class and add this styles to center the element
display: flex;
justify-content: center;
align-items: center;
margin: 32px 0;
Now you can play around with changing the font sizes to get the one closer to the design
Marked as helpful
@Gilbert-Koom
Posted
Should i apply the styles to the class component or the h1 element
@AshongAbdallah06
Posted
To the class component @Gilbert-Koom