@0xabdulkhaliq
Posted
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have some recommendations regarding your doubts that I believe will be of great interest to you.
SUGGESTION 💡:
- "While positioning the images inside the <div> tag, the image is not behaving according to the sizing of <div> tag. How can I solve that?". First we need to know why this issue is arised, It's just because the fixed
width
ofimg
element.
- Your code
img {
width: 250px;
}
- We can fix it by the following code
img {
width: 100%;
}
- Now the issue has been cleared.
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
Marked as helpful