@tinuola
Posted
Hi Farwaayunis. Good effort with your project. Although this project doesn't call for a lot of CSS, it is good to get into the practice of separating CSS code out of HTML/markup into a separate stylesheet (style.css file, for example).
As for the code: since you've already applied flexbox centering to the 'body', there is no need to apply 'position:absolute' to the component. Any child inside the body will be centered vertically and horizontally. You'll just need to apply 'flex-direction: column' to the body so that the heading and the component are stacked.
You also want to adjust the color contrast of the component text; it's very pale and hard to read against the white background. This is not ideal for accessibility.
Now that you've submitted the solution, you should be able to see how others have coded this challenge. I recommend reviewing other people's solutions. It's a good way to learn and pick up tips.
Good luck!
Marked as helpful