Account Deleted
Hello, Kashyap. Good start on the challenge.
I have a suggestion that will help you next time.
Consider the code from the .box1
selector below:
width: 16%;
max-width: 300px;
Note that the current width is set at 16%
of 300px
and should not exceed the max-width of the box.
It's best to use px
(pixels) values for the width
property to set a fixed width rather than using %
. When using percentages, the size of the element may stretch or shrink based on the container's size, similar to how the img
element behaves.
With that, good luck on your coding journey.