@francescomerighi1202
Posted
Hi there!
Your solution is partially correct.
I strongly advise against setting fixed heights for this sort of thing.
Center your card by adding 'display: grid', 'place-content: center' and 'height: 100vh'.
One more thing, use specific tags to "explain" what piece of code you are looking at (e.g. <main> <section> etc...)
Try updating your solution after applying the above changes.
Hope I was helpful! In any case, if you need it, you can look at my solution!
P.S. (If you found this comment helpful, please mark it)
@UdbhavDalmia
Posted
@francescomerighi1202 what does height: 100vh; means i mean how many pixels or any reference
@francescomerighi1202
Posted
@UdbhavDalmia 100vh means 100% of the viewport height