Design comparison
SolutionDesign
Community feedback
- @HassiaiPosted almost 2 years ago
The image is not visible , to make it visible add "." to the beginning of the src value in the img tag.
<img src="./images/illustration-hero.svg" alt="Hero illustration">
instead of <img src="/images/illustration-hero.svg" alt="Hero illustration">.There is no need to give the body a width value. To center the main on the page using flexbox, replace the height in the body with min-height: 100vh.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord