@Ikuewumi
Posted
Hi 👋. The solution looks pretty nice, and about the image, you might want to check out the css object-fit
property which allows you to control images precisely: their width, height and all that stuff. So for an example:
img {
object-fit:cover;
width: 400px;
height: 100%;
object-position: top center;
}
To know more you could check out the MDN page on object fit
Happy coding, Ayobami
Marked as helpful
@renanrdsouza
Posted
@Ikuewumi
Thanks, buddy! I apreciate your tip!