Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Figuring out the positioning of the testimonials
What challenges did you encounter, and how did you overcome them?Struggled a bit with the positioning
What specific areas of your project would you like help with?Any feedback is welcome
Community feedback
- @nesc11Posted 8 months ago
Greetings,
Your project is very similar to the design, but there is one card that must have a different background (Patrick testimony), also I implemented the colors in the following way to avoid repeating code and to make it feel a little more intuitive:
/* n is the number of your card, so you must have 5 classes and these are just example colors */ .card-n { --primary-color: 219, 29%, 14%; --secondary-color: 210, 46%, 95%; } .card { background-color: hsl(var(--primary-color)); color: hsl(var(--secondary-color)); } .card .verified-graduate { color: hsl(var(--secondary-color), 0.5) } .card .review { color: hsl(var(--secondary-color), 0.7) }
I hope you find it useful, keep coding!
0
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