@NehalSahu8055
Posted
Hello Coder 👋.
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
-
Add
min-height:100vh
to the.card
to properly center it. -
It would be better if you use source media for switching to screen sizes(mobile or desktop) for image.
<picture>
<source media="(min-width:800px)" srcset="yourimage.jpg">
<img src="yourimage.jpg" alt="description">
</picture>
- Use Semantics for the proper design of your code.
<body>
<main>... main content goes here ...</main>
<footer>...</footer>
</body>
-
For
non-decorative images
give meaningful and descriptive alt likealt= "Gabrielle Chanel Perfume bottle surrounded by leaves."
. -
Use
responsive units(rem, em, %)
from next project. Explore respective use cases on google. -
Replace
width
withmax-width
to make your card more responsive.
I hope you find this helpful.
Happy coding😄
Marked as helpful