Design comparison
Solution retrospective
Hello everyone, Specifically I have a doubt about how the height of <main> element is 0 even I have not used float. I have to manually set the height of main element as 98%. Can anyone explain what is happening ? Any feedback you wish to give are welcomed.
Community feedback
- @adram3l3chPosted over 2 years ago
It is caused by you've set position absolute to its child. Position absolute will take the element out of the flow. Since that div is the only child of main if it is gone main will feel empty :(
Marked as helpful2@sanketcharanpahadiPosted over 2 years ago@adram3l3ch Thanks for explaining so well.
1 - @NaveenGumastePosted over 2 years ago
Hello sanket kumar ! Congo 👏 on completing this challenge
Let's look at some of your issues, shall we:
-
You should use
h1
here<p class="used">You’ve used <span>815 GB</span> of your storage</p>
-
For background img you have used
cover
try to usecontain
as it is floating in air. or another thing may be for "attribution" as it is in bottom it is pushing the img up
happy Coding😀
Marked as helpful1@sanketcharanpahadiPosted over 2 years ago@Crazimonk Thanks for the feedback . I will change it now. Thank You
1 -
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