@vanzasetia
Posted
Hi there! 👋
It looks like you make this challenge more complicated than it should. There's no need for the rectangle background image. The site should only have blue background color on the body
element.
I recommend taking a look at my solution (specifically the HTML file) and trying to refactor this one by making it as simple as possible.
So, I recommend doing the following.
- Remove the background image.
- Use flexbox to put the card in the middle of the page. Don't use absolute positioning when there's a better and modern way.
- The card only needs a
max-width
to prevent it from becoming too large on wide screen sizes. So, there should not be any media queries. - I suggest making the
img
as block element and setmax-width: 100%
to make it easier to work withimg
element.
That's it! Hope this helps. Happy coding!