@shashikantdev3
Posted
Hello there 👋. Good job on completing the challenge!
Here are some suggestions regarding your code that may be of interest to you.
You can create 4 columns instead of 5 and you will not require the explicit declaration of rows. See below CSS code.
main {
display: grid;
grid-template-columns: repeat(4, 1fr);
/* grid-template-rows: repeat(4, 1fr); */
column-gap: 1.875rem;
row-gap: 1.5rem;
margin: 10.25rem 10.313rem;
}
I hope you find it helpful! 😏 Above all, the solution you submitted is 👌. 🎉Happy coding!
Marked as helpful
@AmrAbdelgwaad
Posted
thank you so much @shashikantdev3 I updated my code and it looks much better now I will work more on it and I want to improve my css grid also