@NehalSahu8055
Posted
Hello Coder π.
Congratulations on successfully completing the challenge! π
-
Use gradient
button:hover
-
background-image: linear-gradient(#6542FE,#342CE2);
-
Use
cursor: pointer
on the button for user-friendliness. -
Replace
height:100vh
withmin-height:100vh
in thecontainer
for properly center the card. -
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>
-
Every site must have one h1 element describing the main content of the page. So, Add a level-one heading.
-
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
aria-label, sr-only
to make your card accessible to the screen reader. - 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.
I hope you find this helpful.
Happy codingπ