@NehalSahu8055
Posted
Hello Coder 👋.
Congratulations on successfully completing the challenge! 🎉
Few suggestions regarding design.
-
Remove
paddings & margins
from thebody and .first
as this will not dynamically center the card. -
To properly center the container.
-
USING FLEXBOX
body{
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
- USING GRID
body{
min-height: 100vh;
display: grid;
place-items: center;
}
- Use
Semantics
for the proper design of your code.
<body>
<header>
<nav>...</nav>
</header>
<main>...</main>
<footer>...</footer>
wrap up .attribution div inside footer.
</body>
- Use
responsive units(rem, em, %)
from next project to increase responsiveness. Explore respective use cases on google.
link.
-
Use
max-width
instead ofwidth
to make your design responsive. -
Use
cursor: pointer
on the button for user-friendliness. -
Don't give fixed height to your cards.
I hope you find this helpful.
Happy coding😄
Marked as helpful
@Ajibola1537
Posted
@NehalSahu8055 thank you so much