@bccpadge
Posted
Hello @SecretariatV. Congratulations on completing this challenge!!!π
I have few tips you might be interested in to improve your solution.
HTML π:
- To make your website your accessible you can use HTML Semantic Elements
Example:
<body>
<main></main>
<footer></footer>
</body>
CSS π¨:
- Font size shouldn't be pixels because pixels are absolute unit and doesn't scale when users want to change their font size in their web browser setting.
More infoπ:
The code snippet below is updated to remove the width: 100vw
and height: 100vh
which are unnecessary CSS properties. The reason why you need to remove height:100h
because on mobile devices component get cuts off. Adding padding: 4rem 0
give space on the top and bottom the component.
#root {
display: flex;
align-items: center;
justify-content: center;
/*width: 100vw; */
/* height: 100vh; */
background-color: #e5eff5;
padding: 4rem 0;
}
Hope you find this useful and don't hesitate to reach out to me if you have any questions