Design comparison
SolutionDesign
Solution retrospective
Feedbacks are welcomed.
Community feedback
- @nadezhda-frunzaPosted about 1 year ago
Great job! It is interesting how you used <p> element and <span> elements for the prices. Cause they are block and inline elements respectively, but they worked for this challenge perfectly! When I was solving this challenge I created separate div for prices and set it to flex, but now I know it wasn't the right solution.
Also, I know it is a really small detail and is not required for the challenge, but I would suggest to add a transition (like 0.3s) to the button. It will make the color change look smoother.
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord