@correlucas
Posted
๐พHello Fatima, Congratulations on completing this challenge!
Here's some tips to improve your code:
To improve your component overall responsiveness, something you can do its to create a media query to save space in the pricing section
to make each information in a different row. Hereโs the code for this media query.
@media (max-width: 350px) {
.main-subcontent {
display: flex;
margin-bottom: 30px;
flex-direction: column;
}
}
Your background is applied but its not too similar to the design yet. Add background-size: contain
instead of background-size: cover
to make it display the size full width and center with the card vertically. Note that now is slightly different from the challenge design.
body {
background-repeat: no-repeat;
background-image: url(images/pattern-background-desktop.svg);
background-position: top;
background-repeat: no-repeat;
background-color: var(--clr-paleblue);
font-family: var(--ff-hat);
display: flex;
justify-content: center;
background-size: contain;
align-items: center;
min-height: 100vh;
}
โ๏ธ I hope this helps you and happy coding!
Marked as helpful